示例#1
0
        public void GetResultForPlayerThatIsNotDefined_ThrowsInvalidOperationException()
        {
            var result = new EloMatch(new[] { new EloTeam(1200, 1), new EloTeam(1300, 2) }).Calculate();

            Assert.Throws <InvalidOperationException>(() => result.GetResult(new EloPlayerIdentifier()));
        }