| 44 | } // namespace |
| 45 | |
| 46 | std::vector<Matcher<float>> ArrayFloatNear(const std::vector<float>& values, |
| 47 | float max_abs_error) { |
| 48 | std::vector<Matcher<float>> matchers; |
| 49 | matchers.reserve(values.size()); |
| 50 | for (const float& v : values) { |
| 51 | matchers.emplace_back(FloatNear(v, max_abs_error)); |
| 52 | } |
| 53 | return matchers; |
| 54 | } |
| 55 | |
| 56 | std::vector<Matcher<std::complex<float>>> ArrayComplex64Near( |
| 57 | const std::vector<std::complex<float>>& values, float max_abs_error) { |
no test coverage detected