public void IsValidResult(int matchPoint, int teamScore, bool expectedIsValid) { var match = new MatchSetting(true, (ushort)matchPoint, 0, 0, 0); string message; Assert.AreEqual(expectedIsValid, match.IsValidScore((ushort)teamScore, out message)); }