public void TestGetNewRating(int originalRating, double winProbability, Result result, int expectedNewRating) { var calculator = new EloCalculator(32); var actualNewRating = calculator.GetNewRating(originalRating, winProbability, result); Assert.AreEqual(expectedNewRating, actualNewRating); }