示例#1
0
        public void Character_Presence_Should_Return_False()
        {
            // Arrange
            var solution = new ValidNumberSolution();

            //act
            var result = solution.IsNumber("abc243");

            //Assert
            Assert.False(result);
        }
示例#2
0
        public void Number_With_Character_Should_Return_False()
        {
            // Arrange
            var solution = new ValidNumberSolution();

            //act
            var result = solution.IsNumber("2a");

            //Assert
            Assert.False(result);
        }