aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-10-17 12:50:10 -0400
committerGennadiy Civil <misterg@google.com>2019-10-17 13:08:00 -0400
commitbbe4b7363bbaa7c9e07dbacde11602a4c69504d3 (patch)
tree3387b69932b74908cf1d00b1404c3519019727b7 /googlemock/docs
parent2995ca563d76811be04ff23d554012415ac16915 (diff)
downloadgoogletest-bbe4b7363bbaa7c9e07dbacde11602a4c69504d3.tar.gz
googletest-bbe4b7363bbaa7c9e07dbacde11602a4c69504d3.tar.bz2
googletest-bbe4b7363bbaa7c9e07dbacde11602a4c69504d3.zip
Googletest export
Added IsNan matcher PiperOrigin-RevId: 275278634
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/cheat_sheet.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/googlemock/docs/cheat_sheet.md b/googlemock/docs/cheat_sheet.md
index 8ec5ea08..3236e6a9 100644
--- a/googlemock/docs/cheat_sheet.md
+++ b/googlemock/docs/cheat_sheet.md
@@ -287,6 +287,7 @@ is not changed afterwards, or the meaning of your matcher will be changed.
| `FloatEq(a_float)` | `argument` is a `float` value approximately equal to `a_float`, treating two NaNs as unequal. |
| `NanSensitiveDoubleEq(a_double)` | `argument` is a `double` value approximately equal to `a_double`, treating two NaNs as equal. |
| `NanSensitiveFloatEq(a_float)` | `argument` is a `float` value approximately equal to `a_float`, treating two NaNs as equal. |
+| `IsNan()` | `argument` is any floating-point type with a NaN value. |
<!-- mdformat on -->
The above matchers use ULP-based comparison (the same as used in googletest).