diff options
author | Alexander | 2022-05-28 17:50:15 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-06-29 17:41:16 +0300 |
commit | 39631e78cf6594e6937a14c30c3a6cbd0bf3b816 (patch) | |
tree | c5e523cad5016433a1631b35330c2fc1126d3ae2 /tests/unit/computations | |
parent | 3e1b3873a4565cc711e5b82cc60d77a61e19e4df (diff) | |
download | genenetwork3-39631e78cf6594e6937a14c30c3a6cbd0bf3b816.tar.gz |
init test correlation rust module
Diffstat (limited to 'tests/unit/computations')
-rw-r--r-- | tests/unit/computations/test_rust_correlation.py | 24 |
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" |