final Configuration conf = config.copy();conf.setLabelKind(LABELKIND.LABEL_STRING);
final statechum.analysis.learning.rpnicore.Transform.InternStringLabel intern = new statechum.analysis.learning.rpnicore.Transform.InternStringLabel();
final Label lbl1 = intern.convertLabelToLabel(AbstractLearnerGraph.generateNewLabel("A", conf,intern));
final Label lbl2 = intern.convertLabelToLabel(AbstractLearnerGraph.generateNewLabel("A", conf,intern));
assertEquals(0,lbl1.toInt());
assertEquals(0,lbl2.toInt());
final Label lbl3 = intern.convertLabelToLabel(AbstractLearnerGraph.generateNewLabel("B", conf,intern));
assertEquals(1,lbl3.toInt());
}
@Test