Exemplo n.º 1
0
        public void IsValidToFinishedResult(bool canBeDuce, int matchPoint, int teamScore1, int teamScore2, bool expectedIsValid)
        {
            var    match = new MatchSetting(canBeDuce, (ushort)matchPoint, 0, 0, 0);
            string message;

            Assert.AreEqual(expectedIsValid, match.IsValidToFinishedMatch((ushort)teamScore1, (ushort)teamScore2, out message));
        }