Home | History | Annotate | Download | only in test

Lines Matching refs:FloatLE

122 using testing::FloatLE;
3151 // Tests the cases where FloatLE() should succeed.
3153 EXPECT_PRED_FORMAT2(FloatLE, 1.0f, 2.0f); // When val1 < val2,
3154 ASSERT_PRED_FORMAT2(FloatLE, 1.0f, 1.0f); // val1 == val2,
3157 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f);
3160 // Tests the cases where FloatLE() should fail.
3163 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
3168 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
3176 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
3179 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1);
3182 ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);