aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/computations/test_rust_correlation.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/unit/computations/test_rust_correlation.py b/tests/unit/computations/test_rust_correlation.py
new file mode 100644
index 0000000..1398645
--- /dev/null
+++ b/tests/unit/computations/test_rust_correlation.py
@@ -0,0 +1,24 @@
+import pytest
+
+from gn3.computations.rust_correlation import CORRELATION_COMMAND
+from gn3.computations.rust_correlation import run_correlation
+
+
+@pytest.mark.unit_test
+
+def test_equality():
+ """initial test for sum """
+
+ assert 4 == 4
+
+
+
+@pytest.mark.unit_test
+
+def test_run_correlation():
+ """test calling rusts' correlation """
+
+
+ results = run_correlation("./tests/data/sample_json_file.json")
+
+ assert results == "hello"