//! Approximate-equality helpers for unit and Tier-2 tests.
//!
//! Gated behind the `test-utils` Cargo feature so downstream crates
//! (e.g., [`astrodyn_dynamics`](https://docs.rs/astrodyn_dynamics)) can reuse
//! the same tolerance helpers without the production build paying for
//! them. Mirrors the comparison helpers used in JEOD's verification
//! sims under `models/utils/math/verif/`.
use crate;
/// Returns `true` if `|a - b| < tol`.
/// Returns `true` if the L2 norm of `a - b` is less than `tol`.
/// Returns `true` if every element of `a - b` is within `tol`
/// (componentwise infinity norm).