assertEquals(bgp, bgp2) ;
}
@Test public void reorderIndexes2()
{
ReorderProc proc = new ReorderProcIndexes(new int[]{1,0}) ;
BasicPattern bgp1 = bgp("(bgp (:x :p ?v) (:x :q ?w))") ;
BasicPattern bgp2 = bgp("(bgp (:x :q ?w) (:x :p ?v))") ;
BasicPattern bgp3 = proc.reorder(bgp1) ;
assertEquals(bgp2, bgp3) ;
}