public void Example2()
        {
            const int playerRating = 1613;
            var opposingPlayersRatings = new[] { 1609, 1477, 1388, 1586, 1720 };
            var observedScore = new[] { 1, 1, 0, 0.5, 0.5 };

            var algorithm = new EloAlgorithm();
            var newPlayerRating = algorithm.CalculateNewRating(playerRating, 32, opposingPlayersRatings, observedScore);

            Assert.AreEqual(1617, newPlayerRating);
        }
        public void Page1_Example3()
        {
            const int playerRating = 2000;
            var opposingPlayersRatings = new[] { 1900 };
            var observedScore = new[] { 0.5 };

            var algorithm = new EloAlgorithm();
            var newPlayerRating = algorithm.CalculateNewRating(playerRating, 10, opposingPlayersRatings, observedScore);

            Assert.AreEqual(Math.Round(2000 - 1.4), newPlayerRating);
        }