Skip to content

Commit

Permalink
Add voronoi test case
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo committed Jun 2, 2023
1 parent 837d172 commit cb2adfa
Show file tree
Hide file tree
Showing 3 changed files with 2,808 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/VoronoiCrashTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const std::vector<std::string> polygon_filenames = {
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/slice_polygon_005.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/slice_polygon_006.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/slice_polygon_007.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/slice_polygon_008.txt").string(),
};

const std::vector<std::string> setting_filenames = {
Expand All @@ -79,6 +80,7 @@ const std::vector<std::string> setting_filenames = {
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/settings_005.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/settings_006.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/settings_007.txt").string(),
std::filesystem::path(__FILE__).parent_path().append("voronoi_crash_resources/settings_008.txt").string(),
};

INSTANTIATE_TEST_SUITE_P(TestCrashingPolygons, VoronoiCrashTest, testing::Combine(testing::ValuesIn(polygon_filenames), testing::ValuesIn(setting_filenames)));
Expand Down
Loading

0 comments on commit cb2adfa

Please sign in to comment.