Skip to content
Snippets Groups Projects
  1. Jul 10, 2021
    • 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.
      1ef79a09
  2. Jul 09, 2021
    • 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.
      1ffad921
    • tgraw's avatar
      Removed fixme comment no longer needed · c84f2d6e
      tgraw authored
      c84f2d6e
  3. Jul 08, 2021
  4. Jul 07, 2021
  5. Jul 06, 2021
Loading