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

Function checkNoThrow

plugins/cpd/test/CpdFilterTest.cpp:64–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void checkNoThrow(const std::string& method)
65{
66 auto reader1 = newReader();
67 auto reader2 = newReader();
68 auto filter = newFilter();
69 filter->setInput(*reader1);
70 filter->setInput(*reader2);
71
72 Options options;
73 options.add("method", method);
74 filter->setOptions(options);
75
76 PointTable table;
77 filter->prepare(table);
78 ASSERT_NO_THROW(filter->execute(table));
79}
80
81void checkPointsEqualReader(const PointViewSet& pointViewSet, double tolerance)
82{

Callers 1

TESTFunction · 0.85

Calls 6

setOptionsMethod · 0.80
newReaderFunction · 0.70
newFilterFunction · 0.70
addMethod · 0.45
prepareMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected