public final void test_ign_1() // long test sequence (which exists) which is rejected part-way, but first element of it is ignored.
{
FSMStructure mach = WMethod.getGraphData(TestFSMAlgo.buildGraph("AM-a->AM-b->AM-c->AM","tmp graph"));
PTATestSequenceEngine engine = new PTA_FSMStructure(mach);
sequenceSet partialPTA = engine.new sequenceSet();partialPTA.setIdentity();
partialPTA = partialPTA.cross(TestFSMAlgo.buildSet(new String[][] {
new String[] {"a"},
}));
PTA_computePrecisionRecall precComputer = new PTA_computePrecisionRecall(fsm);
precComputer.crossWith(engine);
engine = new PTA_FSMStructure(mach);
partialPTA = engine.new sequenceSet();partialPTA.setIdentity();
partialPTA = partialPTA.cross(TestFSMAlgo.buildSet(new String[][] {
new String[] {"a","b","b","c","c"},
}));
precComputer.crossWith(engine);
assertEquals(1, precComputer.pos_relret);assertEquals(0, precComputer.neg_relret);
assertEquals(4, precComputer.pos_Rel);assertEquals(0, precComputer.neg_Rel);