diff -r a057dc4457fc -r 87b9e3e2c1a7 marking1/drumb_test1.scala --- a/marking1/drumb_test1.scala Tue Oct 29 11:11:44 2019 +0000 +++ b/marking1/drumb_test1.scala Tue Oct 29 14:12:24 2019 +0000 @@ -1,12 +1,12 @@ -def myassert(cond : => Boolean) = { +/*def myassert(cond : => Boolean) = { try { assert(cond) } catch { case _ : Throwable => System.exit(1) } } - -myassert(get_january_data("GOOG", 1980) == List()) +*/ -myassert(get_january_data("GOOG", 2010).head == "2010-01-04,312.204773") +assert(CW6b.get_january_data("GOOG", 1980) == List()) +assert(CW6b.get_january_data("GOOG", 2010).head == "2010-01-04,312.204773")