1# coding=utf-8
2from color_HSL_adjust import HslAdjust
3from .test_inkex_extensions import ColorBaseCase
4
5class ColorHSLAdjustTest(ColorBaseCase):
6    effect_class = HslAdjust
7    color_tests = [
8        ("none", "none"),
9        ((255, 255, 255), "#ffffff"),
10        ((0, 0, 0), "#000000"),
11        ((0, 128, 0), "#008000"),
12        ((91, 166, 176), "#5a74af", ['-x 10']),
13        ((91, 166, 176), "#745aaf", ['-x 320']),
14        ((91, 166, 176), "#5ba6b0", ['-x 0']),
15        ((91, 166, 176), "#af5a6c", ['-x 12345']),
16        ((91, 166, 176), "#5aacaf", ['-x -1']),
17        ((91, 166, 176), "#4eafbb", ['-s 10']),
18        ((91, 166, 176), "#0be5fe", ['-s 90']),
19        ((91, 166, 176), "#5ba6b0", ['-s 0']),
20        ((91, 166, 176), "#0be5fe", ['-s 100']),
21        ((91, 166, 176), "#0be5fe", ['-s 12345']),
22        ((91, 166, 176), "#5ba5ae", ['-s -1']),
23        ((91, 166, 176), "#7cb8bf", ['-l 10']),
24        ((91, 166, 176), "#ffffff", ['-l 90']),
25        ((91, 166, 176), "#5ba6b0", ['-l 0']),
26        ((91, 166, 176), "#ffffff", ['-l 100']),
27        ((91, 166, 176), "#ffffff", ['-l 12345']),
28        ((91, 166, 176), "#56a4ad", ['-l -1']),
29        ((91, 166, 176), '#5a86af', ['--random_h=true']),
30        ((91, 166, 176), '#cde4e6', ['--random_l=true']),
31        ((91, 166, 176), '#43b8c6', ['--random_s=true']),
32    ]
33