text: from board_generator import generate_board
  from pytest import raises
  
  
  def test_generate_board():
      board = generate_board(10, 10)
  
      assert len(board) == 10
      assert len(board[0]) == 10
  
  
  def test_generate_board_invalid_height():
      with raises(ValueError):
          generate_board(5, 10)
  
  
  def test_generate_board_invalid_width():
      with raises(ValueError):
          generate_board(10, 5)
  