testing4/re_test1.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 02 Feb 2019 13:28:05 +0000
changeset 261 abb03b298dcb
parent 221 d061f3a94fa7
child 300 be9900ba65ff
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)