/*def myassert(cond : => Boolean) = { try { assert(cond) } catch { case _ : Throwable => System.exit(1) } } */ assert(M1.get_first_price("GOOG", 1980) == None) assert(M1.get_first_price("GOOG", 2010) == Some(312.204773))