def METHOD_NAME(self):
    self.r.compute_path(4, 5)
    self.assertEqual(list(self.r.path_nodes), [4, 1, 3, 2, 5])
    self.assertEqual(list(self.r.path), [4, 1, 2, 5])
    self.r.compute_path(5, 4)
    self.assertEqual(list(self.r.path_nodes), [5, 2, 1, 4])
    self.assertEqual(list(self.r.path), [5, 3, 4])
    self.r.compute_path(6, 4)
    self.assertEqual(list(self.r.path_nodes), [6, 3, 2, 1, 4])
    self.assertEqual(list(self.r.path), [6, 2, 3, 4])
    self.r.compute_path(6, 5)
    self.assertEqual(list(self.r.path_nodes), [6, 3, 2, 5])
    self.assertEqual(list(self.r.path), [6, 2, 5])
    self.r.compute_path(4, 6)
    self.assertEqual(list(self.r.path_nodes), [4, 1, 3, 6])
    self.assertEqual(list(self.r.path), [4, 1, 6])
    self.r.compute_path(5, 6)
    self.assertEqual(list(self.r.path_nodes), [5, 2, 1, 3, 6])
    self.assertEqual(list(self.r.path), [5, 3, 1, 6])