marking1/drumb_test1.scala
changeset 169 b37052895281
parent 158 94b11ac19b41
child 210 63a1376cbebd
--- a/marking1/drumb_test1.scala	Tue Jan 16 10:47:29 2018 +0000
+++ b/marking1/drumb_test1.scala	Fri Jan 19 14:09:08 2018 +0000
@@ -1,14 +1,13 @@
-
-/*
-assert(CW6c.get_prices(List("BIDU"), 2004 to 2008) == List(List(None), List(None), 
-                                                      List(Some(6.35)), List(Some(12.241)), 
-                                                      List(Some(38.188))))
-
-*/
-assert(CW6c.get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
-    List(List(Some(311.349976), Some(27.505054)), 
-         List(Some(300.222351), Some(42.357094)), 
-         List(Some(330.555054), Some(52.852215))))
 
 
 
+assert(CW6c.get_prices(List("BIDU"), 2004 to 2008) == 
+       List(List(None), List(None), 
+            List(Some(6.35)), List(Some(12.241)), 
+            List(Some(38.188))))
+
+
+assert(CW6c.get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
+       List(List(Some(311.349976), Some(27.505054)), 
+            List(Some(300.222351), Some(42.357094)), 
+            List(Some(330.555054), Some(52.852215))))