summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:52:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:52:02 +0000
commit58402765133fab24d08b64f3752553bd2b8393b9 (patch)
treea5719e50031d8433912e27184bd8b4b89820bac7 /test
parentFix calculating extents (diff)
downloadilt-58402765133fab24d08b64f3752553bd2b8393b9.tar.bz2
ilt-58402765133fab24d08b64f3752553bd2b8393b9.tar.xz
ilt-58402765133fab24d08b64f3752553bd2b8393b9.zip
Fix todo for handling a terrain walk from outside the mesh
Diffstat (limited to 'test')
-rw-r--r--test/test-geoData.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index 2ea9b26..447ab37 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -139,6 +139,11 @@ BOOST_DATA_TEST_CASE(walkTerrain,
{{310002, 490003}, {310202, 490003}, {0, 1, 2, 3, 4, 5, 6, 7, 8}},
{{310202, 490003}, {310002, 490003}, {8, 7, 6, 5, 4, 3, 2, 1, 0}},
{{310002, 490003}, {310002, 490203}, {0, 399, 398, 797, 796, 1195, 1194, 1593, 1592}},
+ {{310002, 490003}, {309999, 489999}, {0}},
+ {{309999, 489999}, {310002, 490003}, {0}},
+ {{320002, 500003}, {319949, 499948}, {79201}},
+ {{309999, 490003}, {310004, 489997}, {0, 1}},
+ {{310004, 489997}, {309999, 490003}, {1, 0}},
}),
from, to, visits)
{