コード例 #1
0
 public void Test5Characters()
 {
     PalindromeTester palindromeTester = new PalindromeTester();
     palindromeTester.stringToTest = "ABCBA";
     Assert.IsTrue(palindromeTester.Test());
 }
コード例 #2
0
 public void Test4InvalidCharacters()
 {
     PalindromeTester palindromeTester = new PalindromeTester();
     palindromeTester.stringToTest = "ABAC";
     Assert.IsFalse(palindromeTester.Test());
 }