| 79 | |
| 80 | template <typename ValueType> |
| 81 | void checkDimension( |
| 82 | const PointViewPtr view, |
| 83 | const PointId index, |
| 84 | const Dimension::Id dimension, |
| 85 | const ValueType expected, |
| 86 | const double epsilon |
| 87 | ) |
| 88 | { |
| 89 | const auto title = view->dimName(dimension); |
| 90 | const auto value = view->getFieldAs<ValueType>(dimension, index); |
| 91 | EXPECT_NEAR(value, expected, epsilon) << "dimension: " << title; |
| 92 | } |
| 93 | |
| 94 | void checkPoint( |
| 95 | const PointViewPtr view, |
no test coverage detected