testing4/re_test5.scala
changeset 221 9e7897f25e13
parent 215 438459a8e48b
child 300 72688efdf17c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testing4/re_test5.scala	Thu Nov 29 17:15:11 2018 +0000
@@ -0,0 +1,7 @@
+
+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(size(ders("aaaaaa".toList, EVIL_urban)) == 8)