code: def test_max_font_size_as_mask_height():
      # test if max font size will respect the mask height
      x = """hello hello hello
      bye"""
  
      # Get default wordcloud size
      wcd = WordCloud()
      default_size = (wcd.height, wcd.width)
      # Make sure the size we are using is larger than the default size
      size = (default_size[0] * 2, default_size[1] * 2)
  
      # using mask, all drawable
      mask = np.zeros(size, dtype=int)
      mask[:, :] = 0
      wc = WordCloud(mask=mask, random_state=42)
      wc.generate(x)
  
      # no mask
      wc2 = WordCloud(width=size[1], height=size[0], random_state=42)
      wc2.generate(x)
  
      # Check if the biggest element has the same font size
      assert wc.layout_[0][1] == wc2.layout_[0][1]
  
imports: from wordcloud import WordCloud, get_single_color_func, ImageColorGenerator
  import numpy
  import pytest
  from random import Random
  from numpy.testing import assert_array_equal
  from PIL import Image
  import xml.etree.ElementTree
  import matplotlib
label_desc: Use image node_id 34 for calling a global function with example usage: test_max_font_size_as_mask_height() without return types