equal
deleted
inserted
replaced
|
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) |