diff -r a057dc4457fc -r 87b9e3e2c1a7 marking1/drumb_test2.scala --- a/marking1/drumb_test2.scala Tue Oct 29 11:11:44 2019 +0000 +++ b/marking1/drumb_test2.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_first_price("GOOG", 1980) == None) +*/ -myassert(get_first_price("GOOG", 2010) == Some(312.204773)) +assert(CW6b.get_first_price("GOOG", 1980) == None) +assert(CW6b.get_first_price("GOOG", 2010) == Some(312.204773))