testing1/drumb_test3.scala
changeset 314 21b52310bd8b
parent 281 87b9e3e2c1a7
equal deleted inserted replaced
313:dea46bdfd648 314:21b52310bd8b
     1 import CW6b._
     1 import CW6b._
     2 
       
     3 assert(get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
       
     4     List(List(Some(311.349976), Some(20.544939)), 
       
     5          List(Some(300.222351), Some(31.638695)), 
       
     6          List(Some(330.555054), Some(39.478039))))
       
     7 
     2 
     8 
     3 
     9 
     4 
       
     5 assert(get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
       
     6    List(List(Some(312.204773), Some(26.782711)), 
       
     7         List(Some(301.0466), Some(41.244694)), 
       
     8         List(Some(331.462585), Some(51.464207))))
       
     9 
       
    10