-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r.stats.quantile: minimalistic testsuite added #2325
Conversation
c9eb597
to
edb8738
Compare
Verification of the results would be nice (the TODO in the test):
|
I have no clue how that would be done... |
See e.g. https://github.com/OSGeo/grass/blob/main/raster/r.info/testsuite/test_r_info.py for inspiration. Essentially, you simply need to provide a reference result against which to compare the test results. |
It seems that it is only working for r.info. I adapted it (810bbd7) but get
See respective gunittest function: grass/python/grass/gunittest/case.py Line 220 in d76d518
Or am I missing something? |
Thanks @petrasovaa for updating this test! |
* r.stats.quantile: minimalistic testsuite added, triggers #2259 Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
* r.stats.quantile: minimalistic testsuite added, triggers OSGeo#2259 Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
* r.stats.quantile: minimalistic testsuite added, triggers OSGeo#2259 Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
* r.stats.quantile: minimalistic testsuite added, triggers OSGeo#2259 Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
This minimalistic testsuite triggers #2259 (segfault in r.stats.quantile).
The bugfix of r.stats.quantile in #2323 should make let this test pass.