Tests for `test_exec_and_aggregate` fail
Closed this issue · 1 comments
dschlaep commented
On commit 02c1a0a
1. Failure: Simulate and aggregate (@test_exec_and_aggregate.R#149) ────────
`within` not equivalent to TRUE.
1 element mismatch
test-data Ex2 - slot PRECIP - timestep Day max = 4.568 larger than expected 4.37
The value max = 4.568
changes from call to call --> potentially suggesting that code is writing out of bounds?
dschlaep commented
PRECIP
output is all wrong (for "Ex2")
ppt rain snow_fall snowmelt snowloss
min 0.000000 0.00 0.000000 0.000000 0.0000000
max 5.120956 4.37 5.120956 3.504789 0.2481329
input range are
Tmax_C Tmin_C PPT_cm
[1,] -26.03 -43.47 0.00
[2,] 33.85 12.29 4.37