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

Function checkDimensionClose

plugins/rxp/test/RxpReaderTest.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <typename T>
58void checkDimensionClose(const PointViewPtr view,
59 std::size_t index,
60 Dimension::Id dim,
61 T expected)
62{
63 T actual = view->getFieldAs<T>(dim, index);
64 EXPECT_FLOAT_EQ(expected, actual);
65}
66
67template <typename T>
68void checkDimensionEqual(const PointViewPtr view,

Callers 1

checkPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected