Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
atomflunder committed Aug 23, 2022
1 parent aedccec commit 80232b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trueskill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ pub fn expected_score(
/// assert!((exp1 + exp2 - 1.0).abs() < f64::EPSILON);
///
/// // There is a 12% chance for team_one to win and an 88% for team two.
/// assert!((exp1 * 100.0 - 12.0).abs() < f64::EPSILON);
/// assert!((exp2 * 100.0 - 88.0).abs() < f64::EPSILON);
/// assert!(((exp1 * 100.0).round() - 12.0).abs() < f64::EPSILON);
/// assert!(((exp2 * 100.0).round() - 88.0).abs() < f64::EPSILON);
/// ```
///
/// # More
Expand Down

0 comments on commit 80232b2

Please sign in to comment.