コード例 #1
0
        public void GivenNumber_WhenIsNine_ThenTrueOtherwiseFalse(string number, bool expectedIsNine)
        {
            // Act
            var isNine = NumberRecognizer.IsNine(number);

            //Assert
            Assert.AreEqual(expectedIsNine, isNine, "{0} should be isSeven={1}", number, expectedIsNine);
        }