#macros #testing

tmac

Macros that help with testing, e.g. asserting float equality

4 releases

0.1.3 Nov 23, 2021
0.1.2 Nov 23, 2021
0.1.1 Nov 23, 2021
0.1.0 Nov 23, 2021

#291 in Testing

MIT/Apache

6KB
128 lines

What is this?

Just a small crate of testing helpers, e.g. for (ergomically) asserting equality of floats or specifing file contents/multiline strings without weird lack of indentation.

TODOs

  • [] debug_assert_float_eq
  • [] debug_assert_float_ne

Dependencies

~460KB