public void IsAPalindromeTest() { var p = new Palindrome(); var answer = p.IsAPalindrome("racecar"); AssertTrue(answer); }
public void MyTest(string word, bool expected) { //arrange create instant of Palindrome class var test = new Palindrome(); //act call the palidrome method var actual = test.IsAPalindrome(word); //assert - compare expected and actual Assert.Equal(expected, actual); }
public void PalindromeTester(string word, bool expected) { //Arrange var sut = new Palindrome(); //Act var actual = sut.IsAPalindrome(word); //Assert Assert.Equal(expected, actual); }
public void PalindromeTest(string word, bool expected) { //arrange var sut = new Palindrome(); //act var actual = sut.IsAPalindrome(word); //assert Assert.Equal(actual, expected); }
public void TestingForAPalindrome(string word, bool expected) { //Arrange //Act var actual = Palindrome.IsAPalindrome(word); //Assert Assert.Equal(expected, actual); }