author | Christian Urban <christian.urban@kcl.ac.uk> |
Fri, 16 Jul 2021 23:34:19 +0100 | |
changeset 394 | 839ad118e467 |
parent 390 | 175a950470a9 |
child 424 | daf561a83ba6 |
permissions | -rw-r--r-- |
import CW8c._ 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)