blob: 139864563de1a993e63f1547be642680702c6a38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
|