Googletest export

Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent.

PiperOrigin-RevId: 407660542
This commit is contained in:
Abseil Team 2021-11-04 16:44:06 -04:00 committed by dinord
parent bf0701daa9
commit d4e084a1cc

View File

@ -157,8 +157,11 @@ that can be used in the predicate assertion macro
example: example:
```c++ ```c++
EXPECT_PRED_FORMAT2(testing::FloatLE, val1, val2); using ::testing::FloatLE;
EXPECT_PRED_FORMAT2(testing::DoubleLE, val1, val2); using ::testing::DoubleLE;
...
EXPECT_PRED_FORMAT2(FloatLE, val1, val2);
EXPECT_PRED_FORMAT2(DoubleLE, val1, val2);
``` ```
The above code verifies that `val1` is less than, or approximately equal to, The above code verifies that `val1` is less than, or approximately equal to,