author | Christian Urban <christian.urban@kcl.ac.uk> |
Fri, 02 Dec 2022 12:55:59 +0000 | |
changeset 451 | b183e0dfb7ec |
parent 433 | 6af86ba1208f |
child 475 | 59e005dcf163 |
permissions | -rw-r--r-- |
403 | 1 |
import M3._ |
221 | 2 |
val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b')) |
153 | 3 |
|
433 | 4 |
assert(size(der('a', der('a', EVIL_urban))) == 36) |
5 |
assert(size(der('a', der('a', der('a', EVIL_urban)))) == 83) |
|
153 | 6 |
|
433 | 7 |
assert(size(ders("aaaaaa".toList, EVIL_urban)) == 7) |
8 |
assert(size(ders(("a" * 50).toList, EVIL_urban)) == 7) |