code: def test_clip_generation():
      bitmap = [["RR", "RR"], ["RB", "RB"]]
      expected_frame_array = np.array(
          [
              np.array(
                  [
                      [(255, 0, 0), (255, 0, 0)],
                      [(255, 0, 0), (255, 0, 0)],
                  ]
              ),
              np.array(
                  [
                      [(255, 0, 0), (0, 0, 255)],
                      [(255, 0, 0), (0, 0, 255)],
                  ]
              ),
          ]
      )
      unexpected_frame_array = np.array(
          [
              np.array(
                  [
                      [(255, 0, 0), (255, 0, 0)],
                      [(255, 0, 0), (255, 0, 1)],
                  ]
              ),
              np.array(
                  [
                      [(255, 0, 0), (0, 0, 255)],
                      [(255, 0, 0), (0, 0, 255)],
                  ]
              ),
          ]
      )
  
      clip = BitmapClip(bitmap, fps=1)
      frame_array = np.array(list(clip.iter_frames()))
  
      # Check that frame_list == expected_frame_list
      assert np.array_equal(frame_array, expected_frame_array)
  
      # Check that frame_list != unexpected_frame_list
      assert not np.array_equal(frame_array, unexpected_frame_array)
  
imports: import numpy
  import pytest
  from moviepy.video.VideoClip import BitmapClip
label_desc: Use image node_id 1 for calling a global function with example usage: test_clip_generation() without return types