Crate russell_chk[−][src]
Expand description
Russell - Rust Scientific Library
chk: Functions to check vectors and other data in tests
Example
assert_approx_eq!(0.0000123, 0.000012, 1e-6);
assert_vec_approx_eq!(&[0.01, 0.012], &[0.012, 0.01], 1e-2);
Macros
Asserts that two numbers are approximately equal to each other, given a tolerance.
Asserts that two vectors have the same length and approximately equal values.
Functions
Returns package description