Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
masiiie committed Aug 25, 2021
1 parent a0f2a5d commit d88549f
Show file tree
Hide file tree
Showing 32 changed files with 248 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test_cases/q7/food_heuristic_8.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class: "HeuristicTest"

heuristic: "foodHeuristic"
searchProblemClass: "FoodSearchProblem"
layoutName: "Test 8"
layout: """
%%%%%%
% .%
% .%
%P .%
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q7/food_heuristic_9.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q7/food_heuristic_9.test.
solution_cost: "6"
13 changes: 13 additions & 0 deletions src/test_cases/q7/food_heuristic_9.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class: "HeuristicTest"

heuristic: "foodHeuristic"
searchProblemClass: "FoodSearchProblem"
layoutName: "Test 9"
layout: """
%%%%%%
% %. %
% %%.%
%P. .%
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q7/food_heuristic_grade_tricky.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q7/food_heuristic_grade_tricky.test.
# File intentionally blank.
19 changes: 19 additions & 0 deletions src/test_cases/q7/food_heuristic_grade_tricky.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class: "HeuristicGrade"

heuristic: "foodHeuristic"
searchProblemClass: "FoodSearchProblem"
layoutName: "trickySearch"
layout: """
%%%%%%%%%%%%%%%%%%%%
%. ..% %
%.%%.%%.%%.%%.%% % %
% P % %
%%%%%%%%%%%%%%%%%% %
%..... %
%%%%%%%%%%%%%%%%%%%%
"""
# One point always, an extra point for each
# threshold passed.
basePoints: "1"
gradingThresholds: "15000 12000 9000 7000"

2 changes: 2 additions & 0 deletions src/test_cases/q8/CONFIG
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class: "PassAllTestsQuestion"
max_points: "3"
2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_1.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_1.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_1.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 1"
layout: """
%%%%%%
%....%
%....%
%P...%
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_10.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_10.test.
solution_length: "1"
17 changes: 17 additions & 0 deletions src/test_cases/q8/closest_dot_10.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class: "ClosestDotTest"

layoutName: "Test 10"
layout: """
%%%%%%%%%%
% %
% ...%...%
% .%.%.%.%
% .%.%.%.%
% .%.%.%.%
% .%.%.%.%
% .%.%.%.%
%P.%...%.%
% %
%%%%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_11.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_11.test.
solution_length: "2"
30 changes: 30 additions & 0 deletions src/test_cases/q8/closest_dot_11.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
class: "ClosestDotTest"

layoutName: "Test 11"
layout: """
%%%
% %
% %
% %
% %
% %
%.%
%.%
% %
% %
% %
% %
% %
% %
% %
%.%
% %
%P%
% %
% %
% %
% %
%.%
%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_12.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_12.test.
solution_length: "3"
13 changes: 13 additions & 0 deletions src/test_cases/q8/closest_dot_12.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class: "ClosestDotTest"

layoutName: "Test 12"
layout: """
%%%%
% .%
% %
%P %
% %
% .%
%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_13.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_13.test.
solution_length: "1"
12 changes: 12 additions & 0 deletions src/test_cases/q8/closest_dot_13.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class: "ClosestDotTest"

layoutName: "Test 13"
layout: """
%%%%%%%%
%.%....%
%.% %%.%
%.%P%%.%
%... .%
%%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_2.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_2.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_2.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 2"
layout: """
%%%%%%
% .%
%.P..%
% %
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_3.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_3.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_3.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 3"
layout: """
%%%%%%%
% .%
%. P..%
% %
%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_4.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_4.test.
solution_length: "3"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_4.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 4"
layout: """
%%%%%%
% .%
% .%
%P .%
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_5.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_5.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_5.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 5"
layout: """
%%%%%%
% %. %
% %%.%
%P. .%
%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_6.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_6.test.
solution_length: "2"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_6.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 6"
layout: """
%%%%%%%%
% %
%. P .%
% %
%%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_7.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_7.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_7.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 7"
layout: """
%%%%%%%%
% %
% P %
%. . .%
%%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_8.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_8.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_8.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 8"
layout: """
%%%%%%%%
% %
% P.%
% %
%%%%%%%%
"""

2 changes: 2 additions & 0 deletions src/test_cases/q8/closest_dot_9.solution
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the solution file for test_cases/q8/closest_dot_9.test.
solution_length: "1"
11 changes: 11 additions & 0 deletions src/test_cases/q8/closest_dot_9.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class: "ClosestDotTest"

layoutName: "Test 9"
layout: """
%%%%%%%%
% %
%P. .%
% %
%%%%%%%%
"""

0 comments on commit d88549f

Please sign in to comment.