marking/drumb_test1.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 03 Mar 2017 14:50:47 +0000
changeset 118 276b3127f84a
parent 81 ff8d075842d5
child 169 b37052895281
permissions -rw-r--r--
updated

//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)