Package board

Class hasOneFreeSideTest

java.lang.Object
board.hasOneFreeSideTest

public class hasOneFreeSideTest extends Object

class that test if a card on the board has a freeside

this class utilize the setGameBoard method of the Board class, which was specifically created to test the hasOneFreeSideTest method

  • Constructor Details

    • hasOneFreeSideTest

      public hasOneFreeSideTest()
  • Method Details

    • setUp

      public void setUp()
    • board_nofreeside

      public void board_nofreeside()
      this test check if the selected card(which don't have a freeside) has a freeside
    • board_haveonefreeside

      public void board_haveonefreeside()
      this test check if the selected card(which have a single freeside) has a freeside
    • board_havetwofreeside

      public void board_havetwofreeside()
      this test check if the selected card(which have 2 freeside) has a freeside