marking/re2a_test.scala
changeset 95 4fa7231fede7
parent 94 ae4708c851ee
equal deleted inserted replaced
94:ae4708c851ee 95:4fa7231fede7
     9   assert(iterT(200000, (x: Int) => x + 1, 0) == 200000)
     9   assert(iterT(200000, (x: Int) => x + 1, 0) == 200000)
    10   assert(iterT(100, (x: BigInt) => x * 2, BigInt(2)) == BigInt("2535301200456458802993406410752"))
    10   assert(iterT(100, (x: BigInt) => x * 2, BigInt(2)) == BigInt("2535301200456458802993406410752"))
    11   assert(iterT(10, (x: String) => x ++ "a", "a") == "aaaaaaaaaaa") 
    11   assert(iterT(10, (x: String) => x ++ "a", "a") == "aaaaaaaaaaa") 
    12 }
    12 }
    13 
    13 
    14 Await.result(f, 120 second)
    14 Await.result(f, 90 second)