Exemplo n.º 1
0
        public void GivenNumber_WhenIsOne_ThenTrueOtherwiseFalse(string number, bool expectedIsOne)
        {
            // Act
            var isOne = NumberRecognizer.IsOne(number);

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