def test_hls_palette(): colors = hls_palette(10) assert len(colors) == 10 assert all(len(c) == 3 for c in colors)