author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 23 Apr 2020 14:49:54 +0100 | |
changeset 334 | 841727e27252 |
parent 300 | 72688efdf17c |
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)