Crates.io | diagnostics_tools |
lib.rs | diagnostics_tools |
version | 0.8.0 |
source | src |
created_at | 2022-05-25 19:22:16.108101 |
updated_at | 2024-05-11 22:35:29.860803 |
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 | 58,693 |
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