marking1/drumb_test7.scala
changeset 261 8997430d9765
parent 260 b4812c877b05
child 268 e43f7e92ba26
--- a/marking1/drumb_test7.scala	Sat Feb 02 01:21:43 2019 +0000
+++ b/marking1/drumb_test7.scala	Sat Feb 02 13:28:05 2019 +0000
@@ -7,3 +7,4 @@
 assert(investment(List("GOOG", "AAPL", "BIDU"), 2000 to 2005, 100) == 113)
 assert(investment(List("GOOG", "AAPL", "BIDU"), 2000 to 2006, 100) == 254)
 assert(investment(List("GOOG", "AAPL", "BIDU"), 2000 to 2007, 100) == 349)
+assert(investment(List("GOOG", "AAPL", "BIDU"), 1990 to 2017, 100) == 83061)