def test_base_case_minus_08(self):
     pf = PathFinder(self.test_cave, TEST_TARGET_X, TEST_TARGET_Y)
     state = State(position=(5, 11),
                   equipment=Equipment.CLIMB,
                   visited=[],
                   cost=0)
     pf.find_quickest_path(state)
     self.assertEqual(pf.known_shortest_path, 15)
 def test_part_two_base_case_plus_switch(self):
     pf = PathFinder(self.test_cave, TEST_TARGET_X, TEST_TARGET_Y)
     state = State(position=(10, 10),
                   equipment=Equipment.CLIMB,
                   visited=[],
                   cost=0)
     pf.find_quickest_path(state)
     self.assertEqual(pf.known_shortest_path, 7)
 def test_part_two(self):
     pf = PathFinder(self.test_cave, TEST_TARGET_X, TEST_TARGET_Y)
     pf.find_quickest_path()
     self.assertEqual(pf.known_shortest_path, 45)