public void WordInBracketsHasOneWildcardAtTheEnd() { var word = "Head Teacher (PNR01596)"; var filter = new WildcardSuffixFilter(); var filtered = filter.Filter(word); Assert.AreEqual("Head* Teacher* (PNR01596*)", filtered); }
public void HypenatedWordHasOneWildcardAtTheEnd() { var word = "co-ordinator"; var filter = new WildcardSuffixFilter(); var filtered = filter.Filter(word); Assert.AreEqual("co-ordinator*", filtered); }