author | Christian Urban <urbanc@in.tum.de> |
Fri, 14 Dec 2018 14:41:54 +0000 | |
changeset 245 | 975d34506e88 |
parent 227 | marking4/re1a_test.scala@b5f3e814a710 |
child 288 | 65731df141a5 |
permissions | -rw-r--r-- |
168 | 1 |
|
2 |
assert(nullable(ZERO) == false) |
|
3 |
assert(nullable(ONE) == true) |
|
4 |
assert(nullable(CHAR('a')) == false) |
|
5 |
assert(nullable(ZERO | ONE) == true) |
|
6 |
assert(nullable(ZERO | CHAR('a')) == false) |
|
7 |
assert(nullable(ONE ~ ONE) == true) |
|
8 |
assert(nullable(ONE ~ CHAR('a')) == false) |
|
9 |
assert(nullable(STAR(ZERO)) == true) |
|
10 |