Exemplo n.º 1
0
 public void TestApplyCharacterReplacement()
 {
     Assert.AreEqual("", WordUtil.ApplyCharacterReplacement("", RuntimeProperties.TERM_CLEAN_PATTERN));
     Assert.AreEqual("", WordUtil.ApplyCharacterReplacement("   ", RuntimeProperties.TERM_CLEAN_PATTERN));
     Assert.AreEqual("rock paper 334390", WordUtil.ApplyCharacterReplacement("+ rock%paper# 334390", RuntimeProperties.TERM_CLEAN_PATTERN));
 }