marking/drumb_test1.scala
changeset 169 b37052895281
parent 81 ff8d075842d5
--- a/marking/drumb_test1.scala	Tue Jan 16 10:47:29 2018 +0000
+++ b/marking/drumb_test1.scala	Fri Jan 19 14:09:08 2018 +0000
@@ -1,16 +1,6 @@
-//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))))
-}
+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)
-