Module :: wtest_basic

experimental rust-status docs.rs Open in Gitpod discord

Tools for writing and running tests. The most basic things.

Sample

```rust use wtest_basic::*;

//

tests_impls! {

fn pass1() { assert_eq!( true, true ); }

//

fn pass2() { assert_eq!( 1, 1 ); }

}

//

tests_index! { pass1, pass2, } ```

To add to your project

sh cargo add wtest_basic --dev

Try out from the repository

sh git clone https://github.com/Wandalen/wTools cd wTools cd sample/rust/test_basic_trivial cargo run