def test_is_board_empty(self): board = Board(8, 8) self.assertTrue(board.is_board_empty()) board.click(random.randint(0, 6), random.randint(0, 6)) self.assertFalse(board.is_board_empty())
def test_board_empty_flag_click(self): board = Board() board.flag_click(0, 0) self.assertTrue(board.is_board_empty())
def test_board_not_empty_click(self): board = Board() board.click(0, 0) self.assertFalse(board.is_board_empty())
def test_board_init_empty(self): board = Board() self.assertTrue(board.is_board_empty())