| author | Christian Urban <urbanc@in.tum.de> |
| Fri, 07 Dec 2018 07:57:54 +0000 | |
| changeset 240 | 2d8d198360c8 |
| parent 227 | 37e659cfbb2e |
| permissions | -rw-r--r-- |
| 168 | 1 |
import CW8a._ |
2 |
||
3 |
assert(nullable(ZERO) == false) |
|
4 |
assert(nullable(ONE) == true) |
|
5 |
assert(nullable(CHAR('a')) == false)
|
|
6 |
assert(nullable(ZERO | ONE) == true) |
|
7 |
assert(nullable(ZERO | CHAR('a')) == false)
|
|
8 |
assert(nullable(ONE ~ ONE) == true) |
|
9 |
assert(nullable(ONE ~ CHAR('a')) == false)
|
|
10 |
assert(nullable(STAR(ZERO)) == true) |
|
11 |