main_testing1/drumb_test3.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 02 Nov 2020 02:31:44 +0000
changeset 347 4de31fdc0d67
parent 314 testing1/drumb_test3.scala@21b52310bd8b
child 402 de59aa20a1dc
permissions -rw-r--r--
updated

import CW6b._



assert(get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
   List(List(Some(312.204773), Some(26.782711)), 
        List(Some(301.0466), Some(41.244694)), 
        List(Some(331.462585), Some(51.464207))))