about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testing_test.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testing_test.nix b/tests/testing_test.nix
new file mode 100644
index 0000000..b977fc0
--- /dev/null
+++ b/tests/testing_test.nix
@@ -0,0 +1,14 @@
+let
+  lib = import ./lib.nix;
+in [
+  {
+    name = "Test function concatenate";
+    actual = lib.concatenate "a" "b";
+    expected = "ab";
+  }
+  {
+    name = "Test function add";
+    actual = lib.add 1 2;
+    expected = 3;
+  }
+]