Crate tmac

Source

Macros§

assert_float_eq
Macro version for asserting float equality.
assert_float_ne
Macro version for asserting float inequality.
fileify
fileify takes a string, strips leading and trailing whitespace both for the whole string and for each line, and makes sure that a final newline is present. This serves mostly aesthetic purposes (file contents can be indented):

Functions§

assert_float_eq_fn
Asserts the equality of two floats within the float types epsilon.
assert_float_ne_fn
Asserts the inequality of two floats with regard to the float types epsilon.