author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Wed, 21 Dec 2016 03:06:18 +0000 | |
changeset 94 | ae4708c851ee |
parent 82 | 28c8e17ab83a |
child 99 | e10a9b2fd35a |
permissions | -rw-r--r-- |
//println("starting test now") import scala.concurrent._ import scala.concurrent.duration._ import ExecutionContext.Implicits.global import scala.language.postfixOps lazy val f = Future { assert(get_prices(List("BIDU"), 2004 to 2008) == List(List(None), List(None), List(Some(6.35)), List(Some(12.241)), List(Some(38.188)))) } Await.result(f, 180 second)