main_marking1/drumb_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 05 Nov 2021 17:20:01 +0000
changeset 397 085fefce672e
parent 388 ed63dca8068a
child 424 daf561a83ba6
permissions -rw-r--r--
updated

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

assert(CW6b.get_january_data("GOOG", 1980) == List())
assert(CW6b.get_january_data("GOOG", 2010).head == "2010-01-04,312.204773")