public static void checkReduction(String fsm,String g,Configuration conf, ConvertALabel converter)
{
final LearnerGraph graph = buildLearnerGraph(g,"actual graph",conf,converter);
final LearnerGraph expected = buildLearnerGraph(fsm,"expected graph",conf,converter);
DifferentFSMException
exReduction = WMethod.checkReduction(expected, expected.init, graph, graph.init);
if (exReduction != null)
{// if not a reduction, cannot be an equivalence
DifferentFSMException
ex1 = WMethod.checkM(expected,graph),
ex2 = WMethod.checkM(graph,expected);
Assert.assertNotNull(ex1);
Assert.assertNotNull(ex2);
}