| author | Christian Urban <urbanc@in.tum.de> |
| Fri, 30 Nov 2018 14:13:11 +0000 | |
| changeset 227 | 37e659cfbb2e |
| parent 168 | marking3/re1a_test.scala@bb69fdebf05a |
| permissions | -rw-r--r-- |
import CW8a._ 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)