Exemplo n.º 1
0
        public void TestThatRemoveApostrophesWorks()
        {
            string sTestString     = "I'd like to help but can't.";
            string sExpectedString = "Id like to help but cant.";

            Assert.That(StringFilter.RemoveApostrophes(sTestString), Is.EqualTo(sExpectedString));
        }
Exemplo n.º 2
0
        public void TestThatRemoveApostrophesCanHandleAnEmptyString()
        {
            string sTestString     = "";
            string sExpectedString = sTestString;

            Assert.That(StringFilter.RemoveApostrophes(sTestString), Is.EqualTo(sExpectedString));
        }