11 个版本 (7 个破坏性更新)
0.8.0 | 2024 年 5 月 11 日 |
---|---|
0.7.0 | 2024 年 3 月 16 日 |
0.6.0 | 2024 年 3 月 16 日 |
0.3.0 | 2023 年 10 月 29 日 |
0.1.3 | 2022 年 6 月 13 日 |
#2332 在 开发工具 中
904 每月下载量
用于 91 个 crate(直接使用 3 个)
20KB
429 行
模块 :: 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
依赖项
~40KB