main_testing1/drumb_test2.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 20:51:29 +0000
changeset 440 f3bfc496d6ca
parent 402 de59aa20a1dc
permissions -rw-r--r--
updated jars

/*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))