public void shouldRejectNonPalindrome() { // Arrange var notAPalindrome = "notapalindrome"; var asserter = new StringAsserter(); // Act var result = asserter.CheckPalindrome(notAPalindrome); // Assert Assert.IsFalse(result); }
public void ShouldAssertPalindrome() { // Arrange var palindrome = "boolloob"; var asserter = new StringAsserter(); // Act var result = asserter.CheckPalindrome(palindrome); // Assert Assert.IsTrue(result); }