public void GetWord_CheckPalindrome_True()
        {
            //Arrange
            PalindromeCheck testPalindromeCheck = new PalindromeCheck();

            //Act
            Assert.Equal(true, testPalindromeCheck.Check("a"));
            //Assert
        }
        public void GetWord_CheckNotPalindrome_False()
        {
            //Arrange
            PalindromeCheck testPalindromeCheck = new PalindromeCheck();

            //Act
            Assert.Equal(false, testPalindromeCheck.Check("Hello"));
            //Assert
        }
Beispiel #3
0
 static void Main(String[] args)
 {
     PalindromeCheck p = new PalindromeCheck();
     //p.IsPalindrome("h");
 }