diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-06 20:32:32 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-06 20:32:32 +0000 |
| commit | f6fc7a1edc5fe93bf67278f23734dd7d698789f8 (patch) | |
| tree | 94eb0a812b66d3e88703f77615a4616df2d64820 /test/test-geoData.cpp | |
| parent | Merge branch 'glmax' (diff) | |
| download | ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.tar.bz2 ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.tar.xz ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.zip | |
Diffstat (limited to 'test/test-geoData.cpp')
| -rw-r--r-- | test/test-geoData.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp index a697578..b3a6ad4 100644 --- a/test/test-geoData.cpp +++ b/test/test-geoData.cpp @@ -63,7 +63,10 @@ using FindPointData = std::tuple<GlobalPosition2D, int>; // No boundary cases as these can produce different valid results depending on starting point BOOST_DATA_TEST_CASE(FindPointOnTerrain, boost::unit_test::data::make<FindPointData>({ - {{0, 0}, -1}, {{XLLCORNER, 0}, -1}, {{0, YLLCORNER}, -1}, {{XLLCORNER + 1, YLLCORNER + 2}, 0}, + {{0, 0}, -1}, + {{XLLCORNER, 0}, -1}, + {{0, YLLCORNER}, -1}, + {{XLLCORNER + 1, YLLCORNER + 2}, 0}, {{XLLCORNER + (CELLSIZE * (NROWS - 1)) - 2, YLLCORNER + (CELLSIZE * (NCOLS - 1)) - 1}, 79200}, {{315555000, 495556000}, 44400}, // perf test target }) @@ -291,7 +294,7 @@ BOOST_DATA_TEST_CASE(Deform, loadFixtureJson<DeformTerrainData>("geoData/deform/ std::for_each(cams.begin(), cams.end(), [&renderer, &terrain, &tro](const auto & cam) { renderer.camera.setView(cam.first.first, glm::normalize(cam.first.second)); BOOST_CHECK_NO_THROW(renderer.render(terrain)); - Texture::save(tro.outImage, cam.second.c_str()); + Texture::save(tro.outImage, (ANALYSIS_DIRECTORY / cam.second).c_str()); }); } |
