diff -r 03530cb87cd0 -r b37052895281 marking/drumb_test2.scala --- a/marking/drumb_test2.scala Tue Jan 16 10:47:29 2018 +0000 +++ b/marking/drumb_test2.scala Fri Jan 19 14:09:08 2018 +0000 @@ -1,9 +1,3 @@ -//println("starting test now") - -import scala.concurrent._ -import scala.concurrent.duration._ -import ExecutionContext.Implicits.global -import scala.language.postfixOps val urban_prices = List(List(Some(71.539941), None), List(Some(76.974614), None), @@ -17,11 +11,5 @@ List(Some(0.09141762603007778), Some(2.119679764725104))) -lazy val f = Future { - //assert(get_deltas(urban_prices) == urban_deltas) - assert (get_deltas(get_prices(List("IBM", "BIDU"), 2004 to 2008)) == urban_deltas) -} +assert (get_deltas(get_prices(List("IBM", "BIDU"), 2004 to 2008)) == urban_deltas) - -Await.result(f, 180 second) -