@Test
    public void delMinReturnsCorrectOrderWithRandomInput() {
        Random r = new Random();
        int[] expected = new int[100];
        for (int i = 0; i < 100; i++) {
            int randomInteger = r.nextInt(5000);
            h.insert(new Vertex(0, randomInteger));
            expected[i] = randomInteger;
        }
        Arrays.sort(expected);
        int[] actual = new int[100];
        for (int i = 0; i < 100; i++) {
            actual[i] = h.delMin().getDistance();
        }
        assertArrayEquals(expected, actual);
    }