@Test
    public void testCalclate() throws Exception {
        List<Vertex> vetexes = createVetexes();

        new BellmanFord().calclate(vetexes);

        assertThat(vetexes.toString(),
                is("[{number=0, distance=0, prev=-1}, {number=1, distance=7, prev=4}, {number=2, distance=11, prev=3}, {number=3, distance=5, prev=1}, {number=4, distance=2, prev=0}]"));
    }