Exemple #1
0
 public void IsPalindrome_True()
 {
     Palindrome obj = new Palindrome();
     Assert.IsTrue(obj.CheckIfPalindrome("racecar"));
 }
Exemple #2
0
 public void IsPalindrome_True2()
 {
     Palindrome obj = new Palindrome();
     Assert.IsTrue(obj.CheckIfPalindrome("Swap God for a janitor; rot in a jar of dog paws."));
 }
Exemple #3
0
 public void IsPalindrome_False()
 {
     Palindrome obj = new Palindrome();
     Assert.IsFalse(obj.CheckIfPalindrome("This is not a palindrome"));
 }