MCPcopy Create free account
hub / github.com/PDAL/PDAL / TEST

Function TEST

test/unit/apps/ChamferTest.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43using namespace pdal;
44
45TEST(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
59TEST(Chamfer, distance)
60{

Callers

nothing calls this directly

Calls 7

datapathFunction · 0.85
binpathFunction · 0.85
exenameFunction · 0.85
computeChamferFunction · 0.85
registerDimMethod · 0.80
findMethod · 0.45
setFieldMethod · 0.45

Tested by

no test coverage detected