marking1/drumb_test2.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 17 Nov 2018 22:39:02 +0000
changeset 210 63a1376cbebd
parent 170 37b1bfcdba79
child 268 e43f7e92ba26
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
170
37b1bfcdba79 updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
     1
210
63a1376cbebd updated
Christian Urban <urbanc@in.tum.de>
parents: 170
diff changeset
     2
assert(get_first_price("GOOG", 1980) == None)
158
94b11ac19b41 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
210
63a1376cbebd updated
Christian Urban <urbanc@in.tum.de>
parents: 170
diff changeset
     4
assert(get_first_price("GOOG", 2010) == Some(311.349976))
158
94b11ac19b41 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5