Menu

#23 Update Board.java so that all test pass

Task
closed
None
2015-05-17
2015-05-11
No

After reaching the code coverage for the class, fix class so that all test pass.

Discussion

  • Tavon Hannah

    Tavon Hannah - 2015-05-11
    • Milestone: Bug --> Task
     
  • Tavon Hannah

    Tavon Hannah - 2015-05-17

    All test that result in a failure were due to the test setting up calling the board constructor with an row and column size and then resizing to a size that either did not have a row or did not have a column. Ex: setTab(1,0) or setTab(0,1). I added a check and exception for the board constructor and the setTab method. All test passed after expecting exception that was added or providing the correct parameters.

    Two failures documented in the bugs list. See bug # 25 and 26 for more detail on the issue and the solution.

    All fixes were applied in the following three revision, see comments for more details:
    23, 24, and 25.

     
  • Tavon Hannah

    Tavon Hannah - 2015-05-17
    • status: open --> closed
     

Log in to post a comment.