| 43 | using namespace pdal; |
| 44 | |
| 45 | TEST(Hausdorff, kernel) |
| 46 | { |
| 47 | std::string A = Support::datapath("autzen/autzen-thin.las"); |
| 48 | std::string B = Support::datapath("las/autzen_trim.las"); |
| 49 | std::string output; |
| 50 | |
| 51 | const std::string cmd = Support::binpath(Support::exename("pdal")) + |
| 52 | " hausdorff " + A + " " + B; |
| 53 | |
| 54 | EXPECT_EQ(Utils::run_shell_command(cmd, output), 0); |
| 55 | EXPECT_TRUE(output.find("\"hausdorff\": 4416.968175") != std::string::npos); |
| 56 | } |
| 57 | |
| 58 | TEST(Hausdorff, distance) |
| 59 | { |
nothing calls this directly
no test coverage detected