author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 06 Jun 2024 22:18:15 +0100 | |
changeset 490 | 4778fefecd0c |
parent 475 | 59e005dcf163 |
permissions | -rw-r--r-- |
475 | 1 |
|
2 |
def urbanmain() = { |
|
3 |
||
4 |
import M3._ |
|
153 | 5 |
|
475 | 6 |
assert(flts(List(CHAR('a'), ZERO, ONE), Nil) == List(ZERO)) |
7 |
assert(flts(List(CHAR('a'), ONE, ONE, CHAR('b')), Nil) == List(CHAR('a'), CHAR('b'))) |
|
8 |
assert(flts(List(ONE ~ CHAR('a'), CHAR('b') ~ ONE), Nil) == List(ONE, CHAR('a'), CHAR('b'), ONE)) |
|
153 | 9 |
|
475 | 10 |
} |
11 |