main_marking1/drumb_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 11 Apr 2022 23:55:27 +0100
changeset 424 daf561a83ba6
parent 388 ed63dca8068a
permissions -rw-r--r--
added



val ds_urban = List(List(Some(-0.03573991804411003), Some(0.539974575389325)), 
                    List(Some(0.10103414222249969), Some(0.24777764141006836)))



assert(M1.yearly_yield(ds_urban, 100, 0) == 125)
assert(M1.yearly_yield(ds_urban, 100, 1) == 117)