Module mockall::predicate::float

Expand description

f64 Predicate factories

This module contains predicates specific to float handling.

Functions§

  • Create a new Predicate that ensures two numbers are “close” enough, understanding that rounding errors occur.