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