def METHOD_NAME():
    color_cycle = [[1, 1, 1, 1], [1, 0, 0, 1]]
    cmap_1 = CategoricalColormap(fallback_color=color_cycle)
    cmap_2 = CategoricalColormap(fallback_color=color_cycle)
    cmap_3 = CategoricalColormap(fallback_color=[[1, 1, 1, 1], [1, 1, 0, 1]])
    cmap_4 = CategoricalColormap(
        colormap={0: np.array([0, 0, 0, 1])}, fallback_color=color_cycle
    )
    assert cmap_1 == cmap_2
    assert cmap_1 != cmap_3
    assert cmap_1 != cmap_4
    # test equality against a different type
    assert cmap_1 != color_cycle