marking1/drumb_test1.scala
changeset 486 9c03b5e89a2a
parent 485 19b75e899d37
child 487 efad9725dfd8
equal deleted inserted replaced
485:19b75e899d37 486:9c03b5e89a2a
     1 /*def myassert(cond : => Boolean) = {
       
     2   try {
       
     3     assert(cond)
       
     4   } catch { 
       
     5     case _ : Throwable => System.exit(1)
       
     6   }
       
     7 }
       
     8 */
       
     9 
       
    10 assert(CW6b.get_january_data("GOOG", 1980) == List())
       
    11 assert(CW6b.get_january_data("GOOG", 2010).head == "2010-01-04,312.204773")
       
    12