summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-12-01 16:56:14 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-12-01 16:56:14 +0000
commitf9e6220bf8b17681cb2f395ab64851a72659a070 (patch)
tree43c975ef33f75f0833f46ce09d7a2d6a60d8d398 /test
parentRemove GeoData::difference for points, use global version (diff)
downloadilt-f9e6220bf8b17681cb2f395ab64851a72659a070.tar.bz2
ilt-f9e6220bf8b17681cb2f395ab64851a72659a070.tar.xz
ilt-f9e6220bf8b17681cb2f395ab64851a72659a070.zip
Move GeoData::Triangle to global lib
Diffstat (limited to 'test')
-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 2f3d215..bd1ff87 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(trianglesContainsPoints)
{
const auto face = face_handle(0);
- BOOST_TEST_CONTEXT(GeoData::Triangle<2>(this, fv_range(face))) {
+ BOOST_TEST_CONTEXT(this->triangle<2>(face)) {
BOOST_CHECK(triangleContainsPoint(GlobalPosition2D {xllcorner, yllcorner}, face));
BOOST_CHECK(triangleContainsPoint(GlobalPosition2D {xllcorner + cellsize, yllcorner + cellsize}, face));
BOOST_CHECK(triangleContainsPoint(GlobalPosition2D {xllcorner, yllcorner + cellsize}, face));