{
Configuration config = Configuration.getDefaultConfiguration().copy();
LearnerGraph gr=new LearnerGraph(FsmParser.buildGraph("A-a-#B\nA-b-#B1\nA-c->C\nQ-a->R\nQ-b->S", "testCountMatchingOutgoing1"), config);
gr.linear.moveRejectToHighlight();
GDLearnerGraph ndGraph = new GDLearnerGraph(gr,LearnerGraphND.ignoreRejectStates, false);
DetermineDiagonalAndRightHandSide matcher = ndGraph.new DDRH_highlight();
getMatcherValue(gr,ndGraph,ndGraph.matrixForward, matcher,"A","C");
Assert.assertEquals(0,matcher.getRightHandSide(),Configuration.fpAccuracy);
getMatcherValue(gr,ndGraph,ndGraph.matrixForward, matcher,"S","C");
Assert.assertEquals(0,matcher.getRightHandSide(),Configuration.fpAccuracy);
}