Crates.io | wtest_basic |
lib.rs | wtest_basic |
version | 0.1.14 |
source | src |
created_at | 2021-11-29 20:54:19.054078 |
updated_at | 2022-07-17 13:12:16.20156 |
description | Tools for writing tests. The most basic things. |
homepage | https://github.com/Wandalen/wTools/tree/master/module/rust/wtest_basic |
repository | https://github.com/Wandalen/wTools/tree/master/module/rust/wtest_basic |
max_upload_size | |
id | 489487 |
size | 980,750 |
Tools for writing and running tests. The most basic things.
use wtest_basic::*;
//
tests_impls!
{
fn pass1()
{
assert_eq!( true, true );
}
//
fn pass2()
{
assert_eq!( 1, 1 );
}
}
//
tests_index!
{
pass1,
pass2,
}
cargo add wtest_basic --dev
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/test_basic_trivial
cargo run