diff -r 3020f8c76baa -r 9e7897f25e13 testing4/re_test1.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testing4/re_test1.scala Thu Nov 29 17:15:11 2018 +0000 @@ -0,0 +1,24 @@ + + + +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)