code: def test_parameters(self):
      values = [10, 20]
      fig = plt.figure(
          FigureClass=Waffle,
          rows=10,
          values=values,
          icons="star",
          icon_style="solid",
          labels=["cat1", "cat2"],
      )
      self.assertEqual(fig.plot_args[0]["values"], values)
      self.assertEqual(fig.plot_args[0]["rows"], 10)
      self.assertEqual(
          fig.plot_args[0]["icons"], ["\uf005", "\uf005"]
      )  # star => \uf005
      self.assertEqual(
          fig.plot_args[0]["icon_style"], ["solid", "solid"]
      )
  
      # Default values
      self.assertEqual(fig.plot_args[0]["interval_ratio_x"], 0.2)
      self.assertEqual(fig.plot_args[0]["interval_ratio_y"], 0.2)
      self.assertEqual(fig.plot_args[0]["block_aspect_ratio"], 1)
      self.assertEqual(fig.plot_args[0]["plot_anchor"], "W")
      self.assertEqual(fig.plot_args[0]["starting_location"], "SW")
      self.assertEqual(fig.plot_args[0]["rounding_rule"], "nearest")
  
      self.assertEqual(fig.values_len, len(values))
  
      # subplot parameter overwriting
      fig = plt.figure(
          FigureClass=Waffle,
          rows=10,
          values=values,
          labels=["cat1", "cat2"],
          plots={
              211: {"labels": ["cat3", "cat4"]},
              212: {"labels": ["cat5", "cat6"]},
          },
      )
      self.assertEqual(fig.fig_args["labels"], ["cat1", "cat2"])
      self.assertEqual(fig.plot_args[0]["labels"], ["cat3", "cat4"])
      self.assertEqual(fig.plot_args[1]["labels"], ["cat5", "cat6"])
  
file_path: PyWaffle/tests/test.py
imports: import os
  import unittest
  import matplotlib.pyplot
  from pywaffle.waffle import Waffle
label_desc: Use image node_id 1 for calling the TestWaffle obj's underlying member method code with example usage: obj.test_parameters() without return types