author | Christian Urban <christian.urban@kcl.ac.uk> |
Fri, 22 Jan 2021 10:35:50 +0000 | |
changeset 387 | 6282b88511d8 |
parent 347 | 4de31fdc0d67 |
child 403 | ffce7b61b446 |
permissions | -rw-r--r-- |
347 | 1 |
import CW8c._ |
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) |