4 个版本 (2 个破坏性更新)
| 0.7.1 | 2024年3月15日 |
|---|---|
| 0.6.1 | 2022年10月22日 |
| 0.6.0 | 2019年12月11日 |
| 0.5.0 | 2019年12月10日 |
#87 in #更好
2KB
已废弃 — 使用 assert2
使用 assert2 替代此包。 assertify! 可在任何地方替换为更强大的 assert2::assert!,并且可以通过简短的宏实现 testify!
macro_rules! testify {
($name:ident, $($test:tt)+) => {
#[test]
fn $name() {
::assert2::assert!($($test)+);
}
};
}
lib.rs:
已废弃。请使用 assert2 代替。