| changeset 98 | 44a20e85dd38 | 
| parent 95 | 4fa7231fede7 | 
| 97:3db70bdce7a4 | 98:44a20e85dd38 | 
|---|---|
| 1 import scala.concurrent._ | |
| 2 import scala.concurrent.duration._ | |
| 3 import ExecutionContext.Implicits.global | |
| 4 import scala.language.postfixOps | |
| 5 | |
| 6 | |
| 7 | |
| 8 lazy val f = Future { | |
| 9 assert(fixpT((x:Int) => if (200000 < x) x else x + 1, 0) == 200001) | |
| 10 assert(fixpT((x:Long) => if (20 < x) x else x + 1, 0L) == 21L) | |
| 11 } | |
| 12 | |
| 13 Await.result(f, 90 second) |