public void CanIdentifyPalindromes(string value, bool expected) { //Act var isPalindrome = _stringService.IsPalindrome(value); //Assert Assert.AreEqual(expected, isPalindrome); }
public void TestIsPalindrome(string text, bool expected) { var result = _stringService.IsPalindrome(text); Assert.Equal(expected, result); }
public void CanIdentifyPalindromes(string value, bool expected) { var isPalindrome = _stringService.IsPalindrome(value); Assert.AreEqual(isPalindrome, expected); }