| 43 | using namespace pdal; |
| 44 | |
| 45 | TEST(Chamfer, 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 = |
| 52 | Support::binpath(Support::exename("pdal")) + " chamfer " + A + " " + B; |
| 53 | |
| 54 | EXPECT_EQ(Utils::run_shell_command(cmd, output), 0); |
| 55 | EXPECT_TRUE(output.find("\"chamfer\": 5.907628766e+10") != |
| 56 | std::string::npos); |
| 57 | } |
| 58 | |
| 59 | TEST(Chamfer, distance) |
| 60 | { |
nothing calls this directly
no test coverage detected