main_marking3/re_test5.scala
changeset 390 175a950470a9
child 424 daf561a83ba6
equal deleted inserted replaced
389:4113d4d8cf62 390:175a950470a9
       
     1 import CW8c._
       
     2  
       
     3 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
       
     4 
       
     5 assert(size(der('a', der('a', EVIL_urban))) == 28)
       
     6 assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
       
     7 
       
     8 assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8)
       
     9 assert(size(ders(("a" * 50).toList, EVIL_urban)) == 8)