diff -r a057dc4457fc -r 87b9e3e2c1a7 marking/trade_test4.scala --- a/marking/trade_test4.scala Tue Oct 29 11:11:44 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -//println("starting test now") - - -import scala.concurrent._ -import scala.concurrent.duration._ -import ExecutionContext.Implicits.global -import scala.language.postfixOps - -lazy val f = Future { - assert(query_company("YHOO") == ("1996-07-24", "2000-01-03")) - assert(query_company("IBM") == ("1962-06-14", "2013-03-14")) - assert(query_company("BIDU") == ("2006-02-07", "2014-11-11")) -} - -Await.result(f, 120 second)