marking1/drumb_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 24 Nov 2020 23:36:21 +0000
changeset 367 e6ae724255a8
parent 281 87b9e3e2c1a7
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")