testing1/drumb_test3.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 02 Nov 2019 13:19:45 +0000
changeset 304 4a9d1153ccc5
parent 281 87b9e3e2c1a7
child 314 21b52310bd8b
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 199
diff changeset
     1
import CW6b._
130
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     3
assert(get_prices(List("GOOG", "AAPL"), 2010 to 2012) ==
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     4
    List(List(Some(311.349976), Some(20.544939)), 
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     5
         List(Some(300.222351), Some(31.638695)), 
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     6
         List(Some(330.555054), Some(39.478039))))
130
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9