コード例 #1
0
        public void GivenNumber_WhenIsFive_ThenTrueOtherwiseFalse(string number, bool expectedIsFive)
        {
            // Act
            var isFive = NumberRecognizer.IsFive(number);

            //Assert
            Assert.AreEqual(expectedIsFive, isFive, "{0} should be isFive={1}", number, expectedIsFive);
        }