author | Christian Urban <christian.urban@kcl.ac.uk> |
Wed, 06 Mar 2024 18:20:25 +0000 | |
changeset 484 | c4561fc667b7 |
parent 288 | 65731df141a5 |
permissions | -rw-r--r-- |
288 | 1 |
import CW9c._ |
168 | 2 |
|
3 |
assert(nullable(ZERO) == false) |
|
4 |
assert(nullable(ONE) == true) |
|
5 |
assert(nullable(CHAR('a')) == false) |
|
6 |
assert(nullable(ZERO | ONE) == true) |
|
7 |
assert(nullable(ZERO | CHAR('a')) == false) |
|
8 |
assert(nullable(ONE ~ ONE) == true) |
|
9 |
assert(nullable(ONE ~ CHAR('a')) == false) |
|
10 |
assert(nullable(STAR(ZERO)) == true) |
|
11 |