changeset 144 | 716042628398 |
parent 130 | 7f3f01dfe738 |
child 199 | 54befaf23648 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testing1/drumb_test1.scala Tue Nov 14 13:14:47 2017 +0000 @@ -0,0 +1,14 @@ + +/* +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)))) + + +