1. 10 Jul, 2021 1 commit
    • tgraw's avatar
      Fixed issue #1 and #2 · 1ef79a09
      tgraw authored
      Added check to drawVertical() and drawHorizontal() to cover the issue of drawing over already drawn lines.
      Altered the return value of boxComplete() to return the conjunction of the state for each line of the box.
  2. 09 Jul, 2021 3 commits
    • tgraw's avatar
    • tgraw's avatar
      Added tests for issues #1 #2 · 1ffad921
      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.
    • tgraw's avatar
      Removed fixme comment no longer needed · c84f2d6e
      tgraw authored
  3. 08 Jul, 2021 2 commits
  4. 07 Jul, 2021 4 commits
  5. 06 Jul, 2021 4 commits