-
Notifications
You must be signed in to change notification settings - Fork 342
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
Many C API functions lack tests #396
Comments
I would like to help out with this. Would you prefer one big pull request or several smaller pull requests (one for function)? |
However you prefer to do it is good by me. Thanks! |
I started by writing tests for GEOSDisjoint and GEOSTouches: |
Thanks! Here are my suggestions:
|
To test all the *_r functions should add a struct utility_r to the capi_test_utils? |
I see the appeal but am not sure it's worth it, since the non- |
@jericks , any objection to me merging in the commits from your |
No objections here.
…On Wed, Oct 20, 2021, 4:19 PM Dan Baston ***@***.***> wrote:
@jericks <https://github.com/jericks> , any objection to me merging in
the commits from your codecov branch?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#396 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUKTYA3OGLKJJUCCWO4V3UH5FBHANCNFSM4W5CK7QQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Still seems a worthy goal, IMO. |
Functions and code paths not tested can be seen in this codecov report: https://codecov.io/gh/libgeos/geos/src/master/capi/geos_ts_c.cpp. You should be able to view it without an account at least once, but it seems to require login after a few page views.
This would be a great task for anyone who wants to begin contributing to GEOS.
The behavior of the underlying operations is generally tested elsewhere, but C API tests should at least verify that
The text was updated successfully, but these errors were encountered: