This commit is contained in:
Stefano Ariestasia 2023-07-22 11:39:10 +09:00
parent ee3b69ea63
commit 3dd33cde00

View File

@ -348,7 +348,7 @@ def test_calculate_expectancy(testdatadir):
expectancy = calculate_expectancy(bt_data)
assert isinstance(expectancy, float)
assert pytest.approx(expectancy) == 0.07151374226574791
assert pytest.approx(expectancy) == 5.820687070932315e-06
def test_calculate_expectancy_ratio(testdatadir):