424
|
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
|
8 |
assert(M1.yearly_yield(ds_urban, 100, 0) == 125)
|
|
9 |
assert(M1.yearly_yield(ds_urban, 100, 1) == 117)
|