testNonAlphaNumericBecomeSpaces broken!

2008-08-28
2013-04-22
  • Jaehoon CHOI
    Jaehoon CHOI
    2008-08-28

    it's broken because the string consisted with spaces have thirteen spaces. That string must have twelve-length like the following example,

    [Test]
            public void testNonAlphaNumericBecomeSpaces()
            {
                string testString="!\"?%^&*()-+'";
                this.mockStripper = new AIMLbot.Normalize.StripIllegalCharacters(this.mockBot, testString);
                string str = "            ";
                Assert.AreEqual(str.Length, testString.Length);
                Assert.AreEqual(str, this.mockStripper.Transform());
            }