Package board

Class isBoardUnplayableTest

java.lang.Object
board.isBoardUnplayableTest

public class isBoardUnplayableTest extends Object

class that test the isBoardUnplayable method of the Board class

The False tests are: 1, 4

The True tests are: 2, 3

  • Constructor Details

    • isBoardUnplayableTest

      public isBoardUnplayableTest()
  • Method Details

    • setUp

      public void setUp()
      The Before method start before every test and is used to create the new objects on which perform the testing
    • board_fourIsolatedCards

      public void board_fourIsolatedCards()
      Test the case in which there are only 4 cards isolated in the board
    • board_fourNearCards

      public void board_fourNearCards()
      Test the case in which there are 4 near cards in the board (not diagonally)
    • board_sixNearCards

      public void board_sixNearCards()
      Test the case in which there are 6 near cards in the board (not diagonally)
    • board_ZeroCards

      public void board_ZeroCards()
      Test the case in which there are zero cards in the board