tests: initial internal and integration tests
* src/lib.rs: examples for internel tests * tests/integration_tests.rs: examples for external callable tests Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
7
tests/integration_test.rs
Normal file
7
tests/integration_test.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
//use advotracker;
|
||||
|
||||
#[test]
|
||||
fn integration_add_two() {
|
||||
assert_eq!(4, advotracker::add_two(2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user