marking4/re_test5.scala
changeset 288 65731df141a5
parent 245 975d34506e88
equal deleted inserted replaced
287:c493eaba6018 288:65731df141a5
     1 
     1 import CW9c._ 
     2 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
     2 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
     3 
     3 
     4 assert(size(der('a', der('a', EVIL_urban))) == 28)
     4 assert(size(der('a', der('a', EVIL_urban))) == 28)
     5 assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
     5 assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
     6 
     6