@Test
public void testRekeyBugOfIntBinHeap() {
GraphHopperStorage matrixGraph = createMatrixGraph();
Path p = createAlgo(matrixGraph).calcPath(36, 91);
assertEquals(12, p.calcNodes().size());
IntIndexedContainer list = p.calcNodes();
if (!IntArrayList.from(new int[]{36, 46, 56, 66, 76, 86, 85, 84, 94, 93, 92, 91}).equals(list)
&& !IntArrayList.from(new int[]{36, 46, 56, 66, 76, 86, 85, 84, 83, 82, 92, 91}).equals(list)) {
assertTrue("wrong locations: " + list.toString(), false);
}
assertEquals(66f, p.getDistance(), 1e-3);
testBug1(matrixGraph);
testCorrectWeight(matrixGraph);
}