public void RandomTest()
 {
     for (var i = 0; i < 300; i++)
     {
         var str      = RandomString();
         var expected = Solution(str);
         var message  = FailureMessage(str, expected);
         var actual   = KataIsItPalindrome.IsPalindrome(str);
         Console.WriteLine(message);
         Assert.AreEqual(expected, actual, message);
     }
 }
 public void SampleTest()
 {
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome(""));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("a"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("aba"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("Bob"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("oWo"));
     Assert.AreEqual(false, KataIsItPalindrome.IsPalindrome("toM"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("Abba"));
     Assert.AreEqual(false, KataIsItPalindrome.IsPalindrome("kata"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("Madam"));
     Assert.AreEqual(false, KataIsItPalindrome.IsPalindrome("hello"));
     Assert.AreEqual(false, KataIsItPalindrome.IsPalindrome("not equal"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("xxmZiffiZmxx"));
     Assert.AreEqual(true, KataIsItPalindrome.IsPalindrome("AABBCCDDddccbbaa"));
     Assert.AreEqual(false, KataIsItPalindrome.IsPalindrome("asdnaisdoaufnsdfsdfsada"));
 }