Tools for writing and running tests.
use wtest::*;
//
tests_impls!
{
fn pass1()
{
assert_eq!( true, true );
}
//
fn pass2()
{
assert_eq!( 1, 1 );
}
}
//
tests_index!
{
pass1,
pass2,
}
cargo add wtest --dev
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/test_trivial
cargo run