--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/marking/re1a_test.scala Mon Dec 19 02:55:13 2016 +0000
@@ -0,0 +1,20 @@
+
+import scala.concurrent._
+import scala.concurrent.duration._
+import ExecutionContext.Implicits.global
+import scala.language.postfixOps
+
+
+
+lazy val f = Future {
+ 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)
+}
+
+Await.result(f, 120 second)