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

Function TEST

test/unit/filters/ShellFilterTest.cpp:44–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42using namespace pdal;
43
44TEST(ShellFilterTest, test_shell_filter)
45{
46 PipelineManager mgr;
47 Utils::setenv("PDAL_ALLOW_SHELL", "1");
48 mgr.readPipeline(Support::configuredpath("pipeline/shell.json"));
49
50 mgr.execute();
51 ConstPointTableRef table(mgr.pointTable());
52
53 PointViewSet viewSet = mgr.views();
54
55 EXPECT_EQ(viewSet.size(), 1u);
56 PointViewPtr view = *viewSet.begin();
57 EXPECT_EQ(view->size(), 106u);
58
59}

Callers

nothing calls this directly

Calls 5

configuredpathFunction · 0.85
readPipelineMethod · 0.45
executeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected