Lines Matching refs:FloatLE
113 using testing::FloatLE;
2846 // Tests the cases where FloatLE() should succeed.
2848 EXPECT_PRED_FORMAT2(FloatLE, 1.0f, 2.0f); // When val1 < val2,
2849 ASSERT_PRED_FORMAT2(FloatLE, 1.0f, 1.0f); // val1 == val2,
2852 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f);
2855 // Tests the cases where FloatLE() should fail.
2858 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
2863 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
2871 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
2874 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1);
2877 ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);