From d4e084a1cc1b9d86f34b410bc43d1a5b6739427d Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 4 Nov 2021 16:44:06 -0400 Subject: [PATCH] Googletest export Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent. PiperOrigin-RevId: 407660542 --- docs/advanced.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/advanced.md b/docs/advanced.md index b18be2dc..71148572 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -157,8 +157,11 @@ that can be used in the predicate assertion macro example: ```c++ -EXPECT_PRED_FORMAT2(testing::FloatLE, val1, val2); -EXPECT_PRED_FORMAT2(testing::DoubleLE, val1, val2); +using ::testing::FloatLE; +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,