marking1/drumb_test2.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 02 Nov 2019 12:06:07 +0000
changeset 303 b4c597be7514
parent 281 87b9e3e2c1a7
permissions -rw-r--r--
updated

/*def myassert(cond : => Boolean) = {
  try {
    assert(cond)
  } catch { 
    case _ : Throwable => System.exit(1)
  }
}
*/

assert(CW6b.get_first_price("GOOG", 1980) == None)
assert(CW6b.get_first_price("GOOG", 2010) == Some(312.204773))