Esempio n. 1
0
 def test_finds_longest_route(self):
     router = Router(self.routes)
     self.assertEqual(router.longest_route()[1], 982)
Esempio n. 2
0
 def test_finds_shortest_route(self):
     router = Router(self.routes)
     self.assertEqual(router.shortest_route()[1], 605)