testing4/re_test1.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 06 Dec 2018 15:15:31 +0000
changeset 231 eecbc9ae73c2
parent 221 9e7897f25e13
child 300 72688efdf17c
permissions -rw-r--r--
updated



 
assert(nullable(ZERO) == false)
assert(nullable(ONE) == true)
assert(nullable(CHAR('a')) == false)
assert(nullable(ZERO | ONE) == true)
assert(nullable(ZERO | CHAR('a')) == false)
assert(nullable(ONE ~  ONE) == true)
assert(nullable(ONE ~ CHAR('a')) == false)
assert(nullable(STAR(ZERO)) == true)



//import scala.concurrent._
//import scala.concurrent.duration._
//import ExecutionContext.Implicits.global
//import scala.language.postfixOps 
//import scala.language.reflectiveCalls

//lazy val f = Future {

//}
//Await.result(f,30 second)