code: def test_iterable_types(Chart):
      """Test serie as various iterable"""
      chart = Chart(no_prefix=True)
      chart.add("A", [1, 2])
      chart.add("B", [])
      if not chart._dual:
          chart.x_labels = ("red", "green", "blue")
      chart1 = chart.render()
  
      chart = Chart(no_prefix=True)
      chart.add("A", (1, 2))
      chart.add("B", tuple())
      if not chart._dual:
          chart.x_labels = ("red", "green", "blue")
      chart2 = chart.render()
      assert chart1 == chart2
  
imports: import io
  import os
  import uuid
  import pytest
  import pygal
  from pygal.graph.map import BaseMap
  from pygal.test import make_data
  from pygal.util import cut
label_desc: Use image node_id 11 for calling a global function with example usage: test_iterable_types(Chart) without return types