main_marking3/re_test1.scala
changeset 463 0315d9983cd0
parent 424 daf561a83ba6
--- a/main_marking3/re_test1.scala	Sun Jan 15 10:58:13 2023 +0000
+++ b/main_marking3/re_test1.scala	Sat Mar 11 22:01:53 2023 +0000
@@ -8,4 +8,7 @@
 assert(nullable(ONE ~  ONE) == true)
 assert(nullable(ONE ~ CHAR('a')) == false)
 assert(nullable(STAR(ZERO)) == true)
+assert(nullable(ALTs(List(ONE, CHAR('a'), ZERO))) == true)
+assert(nullable(SEQs(List(ONE, ALTs(List(ONE, CHAR('a'), ZERO)), STAR(ZERO)))) == true)
 
+