main_testing3/re_test5.scala
changeset 347 4de31fdc0d67
parent 300 72688efdf17c
child 403 ffce7b61b446
equal deleted inserted replaced
346:663c2a9108d1 347:4de31fdc0d67
       
     1 import CW8c._ 
       
     2 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
       
     3 
       
     4 assert(size(der('a', der('a', EVIL_urban))) == 28)
       
     5 assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
       
     6 
       
     7 assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8)
       
     8 assert(size(ders(("a" * 50).toList, EVIL_urban)) == 8)