File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments