summaryrefslogtreecommitdiff
path: root/test/test-geoData.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:37:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:37:13 +0000
commitacca54f3a12225454633dca2d56506c0dcebb653 (patch)
tree9b1367a07582cd8d6dffae58478d5ee832170b4e /test/test-geoData.cpp
parentFix and split linesCross (diff)
downloadilt-acca54f3a12225454633dca2d56506c0dcebb653.tar.bz2
ilt-acca54f3a12225454633dca2d56506c0dcebb653.tar.xz
ilt-acca54f3a12225454633dca2d56506c0dcebb653.zip
Fix calculating extents
Diffstat (limited to 'test/test-geoData.cpp')
-rw-r--r--test/test-geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index 34c9cb6..2ea9b26 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -21,7 +21,7 @@ BOOST_AUTO_TEST_CASE(loadSuccess)
BOOST_CHECK_EQUAL(2 * (ncols - 1) * (nrows - 1), n_faces());
const auto [lower, upper] = getExtents();
BOOST_CHECK_EQUAL(lower, glm::vec3(310000, 490000, -2.6));
- BOOST_CHECK_EQUAL(upper, glm::vec3(320000, 500000, 571.6));
+ BOOST_CHECK_EQUAL(upper, glm::vec3(319950, 499950, 571.6));
}
BOOST_AUTO_TEST_CASE(normalsAllPointUp)