@@ -0,0 +1,791 @@
+package com.ifactory.press.db.solr.spelling.suggest;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Apublic class MultiDictionaryTest %7B%0A%0A  @Test%0A  public void testStripAfflatus() %7B%0A    assertEquals(%22%22, MultiDictionary.stripAfflatus(%22%22));%0A    assertEquals(%22%22, MultiDictionary.stripAfflatus(%22 %22));%0A    assertEquals(%22%22, MultiDictionary.stripAfflatus(%22''%22));%0A%0A    assertEquals(%22word%22, MultiDictionary.stripAfflatus(%22 word%22));%0A    assertEquals(%22word%22, MultiDictionary.stripAfflatus(%22word %22));%0A    assertEquals(%22word%22, MultiDictionary.stripAfflatus(%22...word---%22));%0A%0A    assertEquals(%22a.out%22, MultiDictionary.stripAfflatus(%22...a.out---%22));%0A%0A    assertEquals(%22123%22, MultiDictionary.stripAfflatus(%22(123)%22));%0A    assertEquals(%22c%22, MultiDictionary.stripAfflatus(%22%F0%90%8C%B8c%F0%90%8C%B8%22));%0A%0A  %7D%0A%0A%7D%0A

test stripping punctuation