summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
authorAdam Carpenter <53hornet@gmail.com>2019-02-19 16:23:08 -0500
committerAdam Carpenter <53hornet@gmail.com>2019-02-19 16:23:08 -0500
commita48940b60367f94c50b6782d8883110b76a356e8 (patch)
treeb2a9c511ffdd087fbe42a62e0b2c62fcb042bbe0 /testing/tests
parent0d653b5cfa9f0a0df9d2383c8e8fe443b6cb902d (diff)
downloadlearning-rust-a48940b60367f94c50b6782d8883110b76a356e8.tar.xz
learning-rust-a48940b60367f94c50b6782d8883110b76a356e8.zip
Added adder and testing
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/integration_test.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/integration_test.rs b/testing/tests/integration_test.rs
new file mode 100644
index 0000000..e0dbe08
--- /dev/null
+++ b/testing/tests/integration_test.rs
@@ -0,0 +1,7 @@
+use testing;
+
+#[test]
+fn it_adds_two() {
+ assert_eq!(4, testing::add_two(2));
+}
+