}
public void testRepeated() throws Exception {
JenaParameters.disableBNodeUIDGeneration = true;
FCAGraph previousGraph = null;
FCAGraph previousUnleanifiedGraph = null;
// Model previousModel = null;
for (int i = 0; i < 10; i++) {
System.out.println("testing round " + i);
Model model = ModelFactory.createDefaultModel();
model.read(StoreTest.class.getResource("TestLeanError.rdf")
.toString());
FCAGraph unleanifiedGraph = new FCAGraphImpl(model);
FCAGraph graph = new FCAGraphImpl(MoleculeBasedLeanifier
.getLeanVersionOf(unleanifiedGraph));
// FCAGraph graph = getGraphFromResource("test4-m0.rdf");
if (previousGraph != null) {
if (!graph.equals(previousGraph)) {
System.out.println("Here we are!");
System.out
.println("Unleanified equals: "
+ unleanifiedGraph
.equals(previousUnleanifiedGraph));
System.out.println("current:" + graph.size());
JenaUtil.getModelFromGraph(graph).write(System.out);
System.out.println("previous:" + previousGraph.size());
JenaUtil.getModelFromGraph(previousGraph).write(System.out);
/*
* PrintWriter pout = new PrintWriter(System.out); new