| 131 | } |
| 132 | |
| 133 | void AssertScalarsEqual(const Scalar& expected, const Scalar& actual, bool verbose, |
| 134 | const EqualOptions& options) { |
| 135 | if (!expected.Equals(actual, options)) { |
| 136 | std::stringstream diff; |
| 137 | if (verbose) { |
| 138 | diff << "Expected:\n" << expected.ToString(); |
| 139 | diff << "\nActual:\n" << actual.ToString(); |
| 140 | } |
| 141 | FAIL() << diff.str(); |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | void AssertScalarsApproxEqual(const Scalar& expected, const Scalar& actual, bool verbose, |
| 146 | const EqualOptions& options) { |
no test coverage detected