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:
2019-10-30 23:40:59 +01:00
parent 61d85f155a
commit cb4c96ee63
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
//use advotracker;
#[test]
fn integration_add_two() {
assert_eq!(4, advotracker::add_two(2));
}