author | Christian Urban <christian.urban@kcl.ac.uk> |
Tue, 13 Oct 2020 10:21:21 +0100 | |
changeset 343 | c8fcc0e0a57f |
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)