File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ private static String readFile(String filename) {
40
40
41
41
@ BeforeClass
42
42
public static void instantiatePDDLPlan () {
43
- String domain = readFile ("test_files /domain.pddl" );
44
- String problem = readFile ("test_files /problem.pddl" );
43
+ String domain = readFile ("src/test/resources /domain.pddl" );
44
+ String problem = readFile ("src/test/resources /problem.pddl" );
45
45
46
46
JSONObject jsonObject = new JSONObject ();
47
47
jsonObject .put ("domain" , domain );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public static void createAgent() {
39
39
stateObservation = toPlay .getObservation ();
40
40
ElapsedCpuTimer timer = new ElapsedCpuTimer ();
41
41
42
- PlanningAgent .setGameConfigFile ("test_files /config.yaml" );
42
+ PlanningAgent .setGameConfigFile ("src/test/resources /config.yaml" );
43
43
agent = new PlanningAgent (stateObservation , timer );
44
44
}
45
45
@@ -74,7 +74,7 @@ public void testFindPlan() {
74
74
75
75
assertEquals (plan .getPDDLActions ().size (), 12 );
76
76
77
- agent .gameInformation .domainFile = "test_files /domain_error.pddl" ;
77
+ agent .gameInformation .domainFile = "src/test/resources /domain_error.pddl" ;
78
78
assertThrows (PlannerException .class , () -> agent .findPlan ());
79
79
}
80
80
Original file line number Diff line number Diff line change 1
- domainFile : test_files /domain.pddl
2
- problemFile : test_files /problem.pddl
1
+ domainFile : src/test/resources /domain.pddl
2
+ problemFile : src/test/resources /problem.pddl
3
3
domainName : BoulderDash
4
4
gameElementsCorrespondence :
5
5
background :
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments