summaryrefslogtreecommitdiffstats
path: root/libs/adder/tests/integration_test.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libs/adder/tests/integration_test.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/adder/tests/integration_test.rs b/libs/adder/tests/integration_test.rs
new file mode 100644
index 0000000..d18b5b6
--- /dev/null
+++ b/libs/adder/tests/integration_test.rs
@@ -0,0 +1,11 @@
+use adder::add_two;
+
+mod common;
+
+#[test]
+fn it_adds_two() {
+ common::setup();
+
+ let result = add_two(2);
+ assert_eq!(result, 4);
+}