Lines Matching refs:FloatLE
115 using testing::FloatLE;
2906 // Tests the cases where FloatLE() should succeed.
2908 EXPECT_PRED_FORMAT2(FloatLE, 1.0f, 2.0f); // When val1 < val2,
2909 ASSERT_PRED_FORMAT2(FloatLE, 1.0f, 1.0f); // val1 == val2,
2912 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f);
2915 // Tests the cases where FloatLE() should fail.
2918 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
2923 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
2931 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
2934 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1);
2937 ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);