def test_get_length_of_longer_path(self): result = day9.get_length_of_path(['A', 'C', 'B', 'D'], self.graph) self.assertEqual(2+5+4, result)
def test_get_length_between_connected_nodes(self): result = day9.get_length_of_path(['A', 'B'], self.graph) self.assertEqual(3, result)