Crates.io | diagnostics_tools |
lib.rs | diagnostics_tools |
version | 0.10.0 |
source | src |
created_at | 2022-05-25 19:22:16.108101 |
updated_at | 2024-10-30 21:36:51.45408 |
description | Diagnostics tools. |
homepage | https://github.com/Wandalen/wTools/tree/master/module/core/diagnostics_tools |
repository | https://github.com/Wandalen/wTools/tree/master/module/core/diagnostics_tools |
max_upload_size | |
id | 593714 |
size | 40,281 |
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