Skip to content

Commit 736e20c

Browse files
carlpaulz
authored andcommitted
test: add assertion for next_rate against upper bound
Signed-off-by: Paul Zabelin <paulzabelin@artium.ai>
1 parent 8206d38 commit 736e20c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/team_recommender/tests/test_proportions_ztest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def test_example_on_wiki():
9696

9797
assert not is_within_expected(0.95, 1, next_size)
9898
assert not is_within_expected(next_rate, 0, next_size)
99+
assert not is_within_expected(next_rate, 1, next_size)
99100
assert is_within_expected(next_rate, 2, next_size)
100101

101102
assert is_statistically_significant(next_rate, 0, next_size)

0 commit comments

Comments
 (0)