mockall
0.0.1
Module float
Functions
In mockall::predicate
?
Module
mockall
::
predicate
::
float
[
−
]
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.