public void censorPalindromesTest_NoPalindromes() { Censor censor = new Censor(); string inputText = "she went to vote in the election to fulfil her duty"; string expectedOutput = "she went to vote in the election to fulfil her duty"; string actualOutput = censor.censorPalindromes(inputText); Assert.AreEqual(expectedOutput, actualOutput); }
public void censorPalindromesTest_EmptyString() { Censor censor = new Censor(); string inputText = " "; string expectedOutput = " "; string actualOutput = censor.censorPalindromes(inputText); Assert.AreEqual(expectedOutput, actualOutput); }