new String[] {"a","a","a","a","b"}, // -
new String[]{"b"}, // -
new String[]{"a", "b", "c"}, // -, FP
new String[]{"a", "b", "a"} // +, FN
},mainConfiguration,converter));
PTA_computePrecisionRecall precComputer = new PTA_computePrecisionRecall(fsm);
precComputer.crossWith(engine);
assertEquals("true negatives",2, precComputer.resultTN);assertEquals("true positives",0, precComputer.resultTP);
assertEquals("false negatives",1, precComputer.resultFN);assertEquals("false positives",1, precComputer.resultFP);
assertEquals("positives relevant",1, precComputer.pos_Rel);assertEquals("negatives relevant",3, precComputer.neg_Rel);
assertEquals("positives retrieved",1, precComputer.pos_Ret);assertEquals("negatives retrieved",3, precComputer.neg_Ret);
}