testing1/drumb_test2.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 08 Nov 2018 23:42:03 +0000
changeset 199 54befaf23648
parent 144 testing1/drumb_test1.scala@716042628398
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