@Test
    public void multipleInsertsHasCorrectOrder() {
        for (int i = 0; i < 10; i++) {
            a.insert(new Vertex(0, i));
        }
        for (int i = 0; i < 10; i++) {
            assertEquals(i, a.get(i).getDistance());
        }
    }