| 46 | |
| 47 | template <typename T> |
| 48 | void checkDimension(const PointView& data, std::size_t index, |
| 49 | Dimension::Id dim, T expected) |
| 50 | { |
| 51 | T actual = data.getFieldAs<T>(dim, index); |
| 52 | EXPECT_FLOAT_EQ((float)expected, (float)actual); |
| 53 | } |
| 54 | |
| 55 | void checkPoint( |
| 56 | const PointView& data, |