Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

cosc220_assessment2

Trent Graw's avatar
tgraw authored
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.
1ffad921
History
Name Last commit Last update