10 releases (6 breaking)
0.7.0 | Mar 16, 2024 |
---|---|
0.6.0 | Mar 16, 2024 |
0.5.0 | Mar 16, 2024 |
0.4.0 | Mar 1, 2024 |
0.1.2 | May 26, 2022 |
#2235 in Development tools
1,219 downloads per month
Used in 80 crates
(3 directly)
20KB
429 lines
Module :: diagnostics_tools
Diagnostics tools.
Basic use-case
#[ 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
...
*/
}
To add to your project
cargo add diagnostics_tools
Try out from the repository
git clone https://github.com/Wandalen/wTools
cd wTools
cd examples/diagnostics_tools_trivial
cargo run
Dependencies
~40KB