main_marking1/drumb_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 16:44:16 +0000
changeset 435 fda7c39f3b6a
parent 424 daf561a83ba6
permissions -rw-r--r--
updated wordle testing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     1
388
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
val ds_urban = List(List(Some(-0.03573991804411003), Some(0.539974575389325)), 
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
                    List(Some(0.10103414222249969), Some(0.24777764141006836)))
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     8
assert(M1.yearly_yield(ds_urban, 100, 0) == 125)
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     9
assert(M1.yearly_yield(ds_urban, 100, 1) == 117)