Skip to content

Commit 476f953

Browse files
committed
Fix tests for documentation
1 parent 9fe2fac commit 476f953

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ You can compare two or more teams to get the probabilities of each team winning.
100100
>>> a1 = Rating()
101101
>>> a2 = Rating(mu=33.564, sigma=1.123)
102102
>>> predictions = predict_win(teams=[[a1], [a2]])
103+
>>> predictions
103104
[0.45110901512761536, 0.5488909848723846]
104105
>>> sum(predictions)
105106
1.0

docs/manual.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ You can compare two or more teams to get the probabilities of each team winning.
110110
>>> a1 = Rating()
111111
>>> a2 = Rating(mu=33.564, sigma=1.123)
112112
>>> predictions = predict_win(teams=[[a1], [a2]])
113+
>>> predictions
113114
[0.45110901512761536, 0.5488909848723846]
114115
>>> sum(predictions)
115116
1.0

0 commit comments

Comments
 (0)