main_testing1/drumb_test2.scala
changeset 347 4de31fdc0d67
parent 281 87b9e3e2c1a7
child 402 de59aa20a1dc
equal deleted inserted replaced
346:663c2a9108d1 347:4de31fdc0d67
       
     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_first_price("GOOG", 1980) == None)
       
    11 assert(CW6b.get_first_price("GOOG", 2010) == Some(312.204773))
       
    12