tbender_testing 0.1.0

Example of unit testing
Documentation
1
2
3
4
5
6
7
8
9
10
use tbender_testing::add_two;

// use common as a module so that it is not run as an integration test
mod common;

#[test]
fn it_adds_two() {
    common::setup();
    assert_eq!(4, add_two(2));
}