| 118 | } |
| 119 | |
| 120 | void AssertArraysApproxEqual(const Array& expected, const Array& actual, bool verbose, |
| 121 | const EqualOptions& options) { |
| 122 | return AssertArraysEqualWith( |
| 123 | expected, actual, verbose, |
| 124 | [&](const Array& expected, const Array& actual, std::stringstream* diff) { |
| 125 | return expected.ApproxEquals(actual, options.diff_sink(diff)); |
| 126 | }); |
| 127 | } |
| 128 | |
| 129 | void AssertScalarsEqual(const Scalar& expected, const Scalar& actual, bool verbose, |
| 130 | const EqualOptions& options) { |
no test coverage detected