pub fn between<F>(low: F, high: F) -> impl Matcher<F>where
F: Float,Expand description
Matches a float in the inclusive range low..=high.
use test_better_core::TestResult;
use test_better_matchers::{between, check};
fn main() -> TestResult {
check!(2.5_f64).satisfies(between(0.0, 5.0))?;
Ok(())
}