testing1/drumb_test2.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 28 Nov 2018 17:13:40 +0000
changeset 219 44161f2c3226
parent 199 54befaf23648
child 248 1616d06a0893
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
130
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     2
assert(get_first_price("GOOG", 1980) == None)
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     3
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     4
assert(get_first_price("GOOG", 2010) == Some(311.349976))
130
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     8