Lines Matching refs:expected
68 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
337 // matcher is expected.
375 // matcher is expected.
1891 // The matcher's input will be compared with expected. The matcher treats two
1896 FloatingEqMatcher(FloatType expected, bool nan_eq_nan) :
1897 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
1903 FloatingEqMatcher(FloatType expected, bool nan_eq_nan,
1905 : expected_(expected),
1916 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1917 : expected_(expected),
1923 const FloatingPoint<FloatType> actual(value), expected(expected_);
1926 if (actual.is_nan() || expected.is_nan()) {
1927 if (actual.is_nan() && expected.is_nan()) {
1952 return actual.AlmostEquals(expected);
2010 // The following 3 type conversion operators allow FloatEq(expected) and
2011 // NanSensitiveFloatEq(expected) to be used as a Matcher<float>, a
2527 // We make a copy of expected in case the elements in it are modified
2529 explicit ContainerEqMatcher(const Container& expected)
2530 : expected_(View::Copy(expected)) {
2588 << " doesn't have these expected elements: ";