-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate subworld names of explicitly located robots
- Loading branch information
Showing
4 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
data/scenarios/Testing/_Validation/1875-robot-subworld-location.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 1 | ||
name: Robot location in nonexistent named subworld | ||
description: | | ||
Robot specifies an explicit "planar" location, which uses | ||
the "default" subworld name. However, since the root subworld | ||
has been given a name, we object that the subworld specified by | ||
the robot doesn't exist. | ||
robots: | ||
- name: base | ||
dir: east | ||
loc: [0, 0] | ||
world: | ||
name: mySubworld | ||
palette: | ||
'.': [grass] | ||
map: | | ||
..... | ||
..... | ||
..... | ||
..... | ||
..... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters