checkToken(Transliterator.createFromRules("test", rules, Transliterator.FORWARD), "caa", "cbd");
}
public void testOptimizer() throws Exception {
String rules = "a > b; b > c;"; // convert a's to b's and b's to c's
Transliterator custom = Transliterator.createFromRules("test", rules, Transliterator.FORWARD);
assertTrue(custom.getFilter() == null);
new ICUTransformFilter(new KeywordTokenizer(new StringReader("")), custom);
assertTrue(custom.getFilter().equals(new UnicodeSet("[ab]")));
}