Skip to content

Commit

Permalink
test: fix file paths and broken constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
aoles authored and rtroilo committed Mar 8, 2024
1 parent e40b8eb commit 63ee4af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions test/test-osm-transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ BOOST_AUTO_TEST_CASE(test_has_no_relevant_tags)
BOOST_AUTO_TEST_CASE(test_location_area_service)
{
std::string geo_type("wkt");
LocationAreaService location_area_service(true, 0, 2, geo_type, true);
location_area_service.load("../../mapping_test.csv");
std::string prefix("mapping_");
LocationAreaService location_area_service(true, 0, 2, geo_type, true, prefix);
location_area_service.load("test/mapping_test.csv");

osmium::Location location = osmium::Location(6.306152343750001, 50.05713877598692);
std::vector<std::string> areas = location_area_service.get_area(location);
Expand Down

0 comments on commit 63ee4af

Please sign in to comment.