Diagnostics tools.
#[ test ]
#[ should_panic ]
fn a_id_panic_test()
{
a_id!( 1, 2 );
/*
print :
...
thread 'a_id_panic_test' panicked at 'assertion failed: `(left == right)`
Diff < left / right > :
<1
>2
...
*/
}
cargo add diagnostics_tools
git clone https://github.com/Wandalen/wTools
cd wTools
cd examples/diagnostics_tools_trivial
cargo run