testing1/drumb_test1.scala
author pdated
Sat, 16 Jun 2018 20:54:58 +0100
changeset 184 19b1e01054f6
parent 144 41a2b4f2c30c
child 199 2e13dedd922e
permissions -rw-r--r--
updated


/*
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))))