marking4/re_test1.scala
changeset 245 975d34506e88
parent 227 b5f3e814a710
child 288 65731df141a5
equal deleted inserted replaced
244:a359976a6f3e 245:975d34506e88
       
     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