Home | History | Annotate | Download | only in gtest

Lines Matching refs:val2

893                                      double val2,
895 const double diff = fabs(val1 - val2);
904 << expr2 << " evaluates to " << val2 << ", and\n"
915 RawType val2) {
916 // Returns success if val1 is less than val2,
917 if (val1 < val2) {
921 // or if val1 is almost equal to val2.
922 const FloatingPoint<RawType> lhs(val1), rhs(val2);
928 // val2 is NaN, as the IEEE floating-point standard requires that
937 << val2;
949 // Asserts that val1 is less than, or almost equal to, val2. Fails
950 // otherwise. In particular, it fails if either val1 or val2 is NaN.
952 float val1, float val2) {
953 return internal::FloatingPointLE<float>(expr1, expr2, val1, val2);
956 // Asserts that val1 is less than, or almost equal to, val2. Fails
957 // otherwise. In particular, it fails if either val1 or val2 is NaN.
959 double val1, double val2) {
960 return internal::FloatingPointLE<double>(expr1, expr2, val1, val2);
987 BiggestInt val1, BiggestInt val2) {\
988 if (val1 op val2) {\
993 << "), actual: " << FormatForComparisonFailureMessage(val1, val2)\
994 << " vs " << FormatForComparisonFailureMessage(val2, val1);\