Skip to content
Snippets Groups Projects
Commit 1ffad921 authored by tgraw's avatar tgraw
Browse files

Added tests for issues #1 #2

drawingAHorizontalLineOverAnAlreadyDrawnLineShouldThrow() handles the issue of the illegal operation of drawing over a line that has already been drawn.

callingboxCompleteOnACompleteBoxShouldReturnTrue() tests the correct state of boxes being complete when completely surrounded by lines.

callingboxCompleteOnAnIncompleteBoxShouldReturnFalse() tests the correct state of boxes not being complete until they are completely surrounded by lines. This will progressively surround a box, testing at each step to ensure that the box is not complete until all 4 lines are drawn around the box.
parent c84f2d6e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment