Skip to content

Commit be2979c

Browse files
Merge pull request #569 from calder:dev/finite-matchers
PiperOrigin-RevId: 727895785
2 parents b93e5b9 + 4e35e2c commit be2979c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

googletest/crate_docs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ The following matchers are provided in GoogleTest Rust:
142142
| [`has_entry`] | A [`HashMap`] containing a given key whose value the argument matches. |
143143
| [`is_contained_in!`] | A container each of whose elements is matched by some given matcher. |
144144
| [`is_nan`] | A floating point number which is NaN. |
145+
| [`is_finite`] | A floating point number which is neither infinite nor NaN. |
146+
| [`is_infinite`] | A floating point number which is positive or negative infinity. |
145147
| [`le`] | A [`PartialOrd`] value less than or equal to the given value. |
146148
| [`len`] | A container whose number of elements the argument matches. |
147149
| [`lt`] | A [`PartialOrd`] value strictly less than the given value. |
@@ -185,6 +187,8 @@ The following matchers are provided in GoogleTest Rust:
185187
[`has_entry`]: matchers::has_entry
186188
[`is_contained_in!`]: matchers::is_contained_in
187189
[`is_nan`]: matchers::is_nan
190+
[`is_finite`]: matchers::is_finite
191+
[`is_infinite`]: matchers::is_infinite
188192
[`le`]: matchers::le
189193
[`len`]: matchers::len
190194
[`lt`]: matchers::lt

0 commit comments

Comments
 (0)