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

Function TEST

test/unit/filters/SMRFilterTest.cpp:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using namespace pdal;
42
43TEST(SMRFilterTest, invalidReturns)
44{
45 Options opts;
46 opts.add("returns", "foo");
47
48 SMRFilter filter;
49 filter.setOptions(opts);
50
51 PointTable table;
52 EXPECT_THROW(filter.prepare(table), pdal_error);
53}
54
55TEST(SMRFilterTest, validReturns)
56{

Callers

nothing calls this directly

Calls 8

datapathFunction · 0.85
setOptionsMethod · 0.80
createStageMethod · 0.80
addMethod · 0.45
prepareMethod · 0.45
executeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected