//! Utility code for writing tests.
const DEFAULT_DELTA: f64 = 1e-5;
/// Check two floating point values are approximately equal
/// Check two floating point values are approximately equal using some given delta (a fraction of the inputs)
/// Assert two floating point values are approximately equal
/// Assert two floating point values are approximately equal using some given delta (a fraction of the inputs)
/// This function doesn't seem to be available no `#![no_std]` so we re-
/// implement it here.