author | Christian Urban <urbanc@in.tum.de> |
Sun, 03 Nov 2019 14:42:17 +0000 | |
changeset 308 | e86add5a6961 |
parent 300 | 72688efdf17c |
permissions | -rw-r--r-- |
300 | 1 |
import CW9c._ |
221 | 2 |
val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b')) |
153 | 3 |
|
221 | 4 |
assert(size(der('a', der('a', EVIL_urban))) == 28) |
5 |
assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58) |
|
153 | 6 |
|
221 | 7 |
assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8) |
300 | 8 |
assert(size(ders(("a" * 50).toList, EVIL_urban)) == 8) |