Ejemplo n.º 1
0
def test_calc_pv_less_than_2(positive, negative):
    assert PhenoTool._calc_pv(positive, negative) == "NA"
Ejemplo n.º 2
0
def test_calc_pv():
    res = PhenoTool._calc_pv([1, 2, 3], [0, 1, 2])
    assert res == pytest.approx(0.2878641347266908, abs=1e-16)