equal
deleted
inserted
replaced
1 import M3._ |
1 import M3._ |
2 |
|
3 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b')) |
|
4 |
2 |
5 assert(size(der('a', der('a', EVIL_urban))) == 28) |
3 assert(flts(List(CHAR('a'), ZERO, ONE), Nil) == List(ZERO)) |
6 assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58) |
4 assert(flts(List(CHAR('a'), ONE, ONE, CHAR('b')), Nil) == List(CHAR('a'), CHAR('b'))) |
|
5 assert(flts(List(ONE ~ CHAR('a'), CHAR('b') ~ ONE), Nil) == List(ONE, CHAR('a'), CHAR('b'), ONE)) |
7 |
6 |
8 assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8) |
|
9 assert(size(ders(("a" * 50).toList, EVIL_urban)) == 8) |
|