Lines Matching refs:FloatLE
204 using testing::FloatLE;
2875 // Tests the cases where FloatLE() should succeed.
2877 EXPECT_PRED_FORMAT2(FloatLE, 1.0f, 2.0f); // When val1 < val2,
2878 ASSERT_PRED_FORMAT2(FloatLE, 1.0f, 1.0f); // val1 == val2,
2881 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f);
2884 // Tests the cases where FloatLE() should fail.
2887 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
2892 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
2900 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
2903 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1);
2906 ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);