-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added some tests * added another test * adhere to style guide * added comments to tests --------- Co-authored-by: Ivan Ho <[email protected]>
- Loading branch information
Showing
8 changed files
with
426 additions
and
10 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
20 changes: 20 additions & 0 deletions
20
src/test/resources/puzzles/treetent/rules/FinishWithTentsDirectRule/AdditionalTents
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,20 @@ | ||
<Legup> | ||
<puzzle name="TreeTent"> | ||
<board height="3" width="3"> | ||
<cells> | ||
<cell value="3" x="1" y="1"/> | ||
</cells> | ||
<axis side="east"> | ||
<clue index="A" value="0"/> | ||
<clue index="B" value="3"/> | ||
<clue index="C" value="0"/> | ||
</axis> | ||
<axis side="south"> | ||
<clue index="1" value="0"/> | ||
<clue index="2" value="3"/> | ||
<clue index="3" value="0"/> | ||
</axis> | ||
</board> | ||
</puzzle> | ||
<solved isSolved="false" lastSaved="--"/> | ||
</Legup> |
20 changes: 20 additions & 0 deletions
20
src/test/resources/puzzles/treetent/rules/FinishWithTentsDirectRule/AmbiguousTents
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,20 @@ | ||
<Legup> | ||
<puzzle name="TreeTent"> | ||
<board height="3" width="3"> | ||
<cells> | ||
<cell value="3" x="1" y="1"/> | ||
</cells> | ||
<axis side="east"> | ||
<clue index="A" value="0"/> | ||
<clue index="B" value="2"/> | ||
<clue index="C" value="0"/> | ||
</axis> | ||
<axis side="south"> | ||
<clue index="1" value="0"/> | ||
<clue index="2" value="2"/> | ||
<clue index="3" value="0"/> | ||
</axis> | ||
</board> | ||
</puzzle> | ||
<solved isSolved="false" lastSaved="--"/> | ||
</Legup> |
Oops, something went wrong.