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

Function TEST

test/unit/apps/HausdorffTest.cpp:45–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected