diff -r ea0d0a862a9c -r ff8d075842d5 marking/drumb_test1.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/marking/drumb_test1.scala Thu Dec 01 22:08:00 2016 +0000 @@ -0,0 +1,16 @@ +//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) +