--- a/main_marking3/re_test5.scala Sun Jan 15 10:58:13 2023 +0000
+++ b/main_marking3/re_test5.scala Sat Mar 11 22:01:53 2023 +0000
@@ -1,9 +1,6 @@
import M3._
-
-val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
-assert(size(der('a', der('a', EVIL_urban))) == 28)
-assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
+assert(flts(List(CHAR('a'), ZERO, ONE), Nil) == List(ZERO))
+assert(flts(List(CHAR('a'), ONE, ONE, CHAR('b')), Nil) == List(CHAR('a'), CHAR('b')))
+assert(flts(List(ONE ~ CHAR('a'), CHAR('b') ~ ONE), Nil) == List(ONE, CHAR('a'), CHAR('b'), ONE))
-assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8)
-assert(size(ders(("a" * 50).toList, EVIL_urban)) == 8)