Skip to content

Commit df4778f

Browse files
author
Your Name
committed
test: updated log implied unit tests
1 parent 42a4267 commit df4778f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_implied.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ def test_odds_ratio_method_parameters(self):
325325
assert isinstance(result.method_params["c"], float)
326326

327327
def test_logarithmic_method_parameters(self):
328-
"""Test that logarithmic method returns alpha parameter."""
328+
"""Test that logarithmic method returns c parameter."""
329329
odds = [2.7, 2.3, 4.4]
330330
result = calculate_implied(odds, method=ImpliedMethod.LOGARITHMIC)
331331

332332
assert result.method_params is not None
333-
assert "alpha" in result.method_params
334-
assert isinstance(result.method_params["alpha"], float)
335-
assert result.method_params["alpha"] > 0 # Should be positive
333+
assert "c" in result.method_params
334+
assert isinstance(result.method_params["c"], float)
335+
assert result.method_params["c"] > 0 # Should be positive

0 commit comments

Comments
 (0)