main_testing1/drumb_test2.scala
changeset 347 4de31fdc0d67
parent 281 87b9e3e2c1a7
child 402 de59aa20a1dc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_testing1/drumb_test2.scala	Mon Nov 02 02:31:44 2020 +0000
@@ -0,0 +1,12 @@
+/*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))
+