Exemplo n.º 1
0
        public void IsAPalindromeTest(string str, bool expected)
        {
            var ws = new PalindromeExercise.WordSmith();

            var actual = ws.IsAPalindrome(str);

            Assert.Equal(expected, actual);
        }
Exemplo n.º 2
0
        public void IsAPalindromeTest(string word, bool expected)
        {
            //Arrange
            PalindromeExercise.WordSmith sut = new PalindromeExercise.WordSmith();
            //Act
            var actual = sut.IsAPalindrome(word);

            //Assert
            Assert.Equal(expected, actual);
        }