示例#1
0
        public void AnswerDigitMatches()
        {
            AnswerDigit answerDigit = new AnswerDigit(5);

            Assert.That(answerDigit.Matches(5), "Equality check does not identify matches.");
        }
示例#2
0
        public void AnswerDigitDoesNotMatch()
        {
            AnswerDigit answerDigit = new AnswerDigit(5);

            Assert.IsFalse(answerDigit.Matches(1), "Equality check does not indentify non-matches.");
        }