mockall
0.11.4
Module float
Functions
In mockall::predicate
Module
mockall
::
predicate
::
float
Copy item path
source
·
[
−
]
Expand description
f64
Predicate factories
This module contains predicates specific to float handling.
Functions
§
is_close
Create a new
Predicate
that ensures two numbers are “close” enough, understanding that rounding errors occur.