Example #1
0
    def test_failed(self):

        gr = Graph(9, 0, 4, g)
        self.assertEqual(gr.retShortestPath(), 20)
Example #2
0
    def test_success(self):

        gr = Graph(9, 0, 4, g)
        self.assertEqual(gr.retShortestPath(), 21)