153
|
1 |
|
160
|
2 |
//import scala.concurrent._
|
|
3 |
//import scala.concurrent.duration._
|
|
4 |
//import ExecutionContext.Implicits.global
|
|
5 |
//import scala.language.postfixOps
|
|
6 |
//import scala.language.reflectiveCalls
|
153
|
7 |
|
160
|
8 |
//lazy val f = Future {
|
153
|
9 |
import CW8a._
|
|
10 |
|
|
11 |
val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
|
|
12 |
|
|
13 |
assert(size(der('a', der('a', EVIL_urban))) == 28)
|
|
14 |
assert(size(der('a', der('a', der('a', EVIL_urban)))) == 58)
|
|
15 |
|
|
16 |
assert(size(ders("aaaaaa".toList, EVIL_urban)) == 8)
|
160
|
17 |
//}
|
153
|
18 |
|
160
|
19 |
//Await.result(f, 120 second)
|