Skip to content

Commit 875263a

Browse files
committed
more tests
1 parent b5df451 commit 875263a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

tests/test_utilities.py

+28
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,34 @@ def test_write_png_rgb():
211211
"#0000ff",
212212
],
213213
),
214+
(
215+
["#abcdef", "#010603", "#f7f9f3"],
216+
4,
217+
["#abcdef", "#394851", "#525652", "#f7f9f3"],
218+
),
219+
(
220+
["#abcdef", "#010603", "#f7f9f3"],
221+
7,
222+
[
223+
"#abcdef",
224+
"#728aa0",
225+
"#394851",
226+
"#010603",
227+
"#525652",
228+
"#a4a7a2",
229+
"#f7f9f3",
230+
],
231+
),
232+
(
233+
["#00abff", "#ff00ab", "#abff00", "#00abff"],
234+
4,
235+
["#00abff", "#ff00ab", "#abff00", "#00abff"],
236+
),
237+
(
238+
["#00abff", "#ff00ab", "#abff00", "#00abff"],
239+
6,
240+
["#00abff", "#9844cc", "#ee3288", "#bbcb22", "#66dd65", "#00abff"],
241+
),
214242
],
215243
)
216244
def test_linear_gradient(

0 commit comments

Comments
 (0)