Assert.assertEquals(0, impure.size());
}
@Test
public void testSimplePositiveSymbol() {
Sentence sentence = (Sentence) parser.parse("B");
Set<Symbol> neg = classifier.getNegativeSymbolsIn(sentence);
Set<Symbol> pos = classifier.getPositiveSymbolsIn(sentence);
Set<Symbol> pureNeg = classifier.getPureNegativeSymbolsIn(sentence);
Set<Symbol> purePos = classifier.getPurePositiveSymbolsIn(sentence);
Set<Symbol> pure = classifier.getPureSymbolsIn(sentence);
Set<Symbol> impure = classifier.getImpureSymbolsIn(sentence);
Assert.assertEquals(0, neg.size());
Assert.assertEquals(1, pos.size());
Sentence b = (Sentence) parser.parse("B");
Assert.assertTrue(pos.contains(b));
Assert.assertEquals(1, purePos.size());
Assert.assertTrue(purePos.contains(b));