Esempio n. 1
0
        public void AnswerDigitMatches()
        {
            AnswerDigit answerDigit = new AnswerDigit(5);

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

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