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 }
static void Main(String[] args) { PalindromeCheck p = new PalindromeCheck(); //p.IsPalindrome("h"); }