You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* in `test_calc.TestBin1d`:
* add `test_bin1d_single_bin2`, which inputs a single bin _and_ a single point;
* split off a new `test_scalar_inside` from `test_scalar_outside`, which checks:
* _all_ corner cases (*.*5)
* _all_ center bins (*.*0)
* _all_ end of bins (*.*99999999)
* one large value (10)
* add separate class `TestBin2d` in `test_region`, which makes more realistic unit tests by extending the self-check mentioned in #255 and performing it...
* for three regions: Italy, California, NZ (New-Zealand);
* for all origins, mid-points, and end-corners (in the bin, at the opposite side of origin);
* for double precision (_float64_ / _f8_) and single precision (_float32_ / _f4_) of the points (not bin edges);
* as loop (over each point individually) and single vector (all points at once).
* ==> 36 unit test combinations
* (albeit targeting `bin1d_vec`, it also unit-tests region's`CartesianGrid2D.get_index_of` and by extension `GriddedForecast.get_index_of`)
0 commit comments