author | Christian Urban <christian.urban@kcl.ac.uk> |
Sat, 28 Nov 2020 15:37:30 +0000 | |
changeset 376 | 6cc36d0ef79e |
parent 288 | 65731df141a5 |
permissions | -rw-r--r-- |
import CW9c._ assert(nullable(ZERO) == false) assert(nullable(ONE) == true) assert(nullable(CHAR('a')) == false) assert(nullable(ZERO | ONE) == true) assert(nullable(ZERO | CHAR('a')) == false) assert(nullable(ONE ~ ONE) == true) assert(nullable(ONE ~ CHAR('a')) == false) assert(nullable(STAR(ZERO)) == true)