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, expect};
fn main() -> TestResult {
expect!(2.5_f64).to(between(0.0, 5.0))?;
Ok(())
}