| 42 | using namespace pdal; |
| 43 | |
| 44 | TEST(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 | } |
nothing calls this directly
no test coverage detected