Describe the bug
When I execute the recently updated tests against https://ri.ldproxy.net/daraa for 10 collections, I get two failed tests for test method validateFeaturesWithBoundingBoxResponse, but the evaluation of both results is incorrect:
The geometry returned by the feature is 35.9535002 32.5920726, not 35.9535 32.59207 as reported. The geometry is within the bounding box.
It looks as if there are some floating point issues when processing the JSON response. The issue seems to be here. response.response.groovyResponse.content has ... "coordinates":[35.9535002,32.5920726] ..., but features.get(3).get("geometry").get("coordinates").toString() is [35.9535, 32.59207].
The geometry returned by the feature is 36.1076948 32.6319629, not 36.107697 32.63196 as reported. The geometry is within the bounding box. The cause is the same as above.
Describe the bug When I execute the recently updated tests against https://ri.ldproxy.net/daraa for 10 collections, I get two failed tests for test method
validateFeaturesWithBoundingBoxResponse
, but the evaluation of both results is incorrect:The geometry returned by the feature is
35.9535002 32.5920726
, not35.9535 32.59207
as reported. The geometry is within the bounding box.It looks as if there are some floating point issues when processing the JSON response. The issue seems to be here.
response.response.groovyResponse.content
has... "coordinates":[35.9535002,32.5920726] ...
, butfeatures.get(3).get("geometry").get("coordinates").toString()
is[35.9535, 32.59207]
.The geometry returned by the feature is
36.1076948 32.6319629
, not36.107697 32.63196
as reported. The geometry is within the bounding box. The cause is the same as above.To Reproduce Steps to reproduce the behavior:
FAIL
Expected behavior No failed tests should be reported.
Screenshots n/a
Additional context n/a