// Done! private static void HeuristicHelper(string current, string goal, int value) { EightPuzzle pCurrent = EightPuzzleFactory.Create(current); EightPuzzle pGoal = EightPuzzleFactory.Create(goal); int h = pCurrent.GetHeuristic(pCurrent, pGoal); Assert.AreEqual(value, h); }