testing4/re_test1.scala
changeset 221 9e7897f25e13
parent 215 438459a8e48b
child 300 72688efdf17c
equal deleted inserted replaced
220:3020f8c76baa 221:9e7897f25e13
       
     1 
       
     2 
       
     3  
       
     4 assert(nullable(ZERO) == false)
       
     5 assert(nullable(ONE) == true)
       
     6 assert(nullable(CHAR('a')) == false)
       
     7 assert(nullable(ZERO | ONE) == true)
       
     8 assert(nullable(ZERO | CHAR('a')) == false)
       
     9 assert(nullable(ONE ~  ONE) == true)
       
    10 assert(nullable(ONE ~ CHAR('a')) == false)
       
    11 assert(nullable(STAR(ZERO)) == true)
       
    12 
       
    13 
       
    14 
       
    15 //import scala.concurrent._
       
    16 //import scala.concurrent.duration._
       
    17 //import ExecutionContext.Implicits.global
       
    18 //import scala.language.postfixOps 
       
    19 //import scala.language.reflectiveCalls
       
    20 
       
    21 //lazy val f = Future {
       
    22 
       
    23 //}
       
    24 //Await.result(f,30 second)