marking1/drumb_test1.scala
changeset 281 87b9e3e2c1a7
parent 267 9e0216756771
--- 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")