| author | Christian Urban <urbanc@in.tum.de> | 
| Tue, 15 May 2018 10:57:20 +0100 | |
| changeset 175 | 32f0928e1e74 | 
| parent 168 | bb69fdebf05a | 
| 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  |