1# coding=utf-8
2from color_rgbbarrel import RgbBarrel
3from .test_inkex_extensions import ColorBaseCase
4
5class ColorBarrelTest(ColorBaseCase):
6    effect_class = RgbBarrel
7    color_tests = [
8        ("none", "none"),
9        ((0, 0, 0), "#000000"),
10        ((255, 255, 255), "#ffffff"),
11        ((192, 192, 192), "#c0c0c0"),
12        ((128, 128, 128), "#808080"),
13        ((128, 0, 0), "#008000"),
14        ((255, 0, 0), "#00ff00"),
15        ((128, 128, 0), "#008080"),
16        ((255, 255, 0), "#00ffff"),
17        ((0, 128, 0), "#000080"),
18        ((0, 255, 0), "#0000ff"),
19        ((0, 128, 128), "#800080"),
20        ((0, 255, 255), "#ff00ff"),
21        ((0, 0, 128), "#800000"),
22        ((0, 0, 255), "#ff0000"),
23        ((128, 0, 128), "#808000"),
24        ((255, 0, 255), "#ffff00"),
25        ("hsl(25, 14, 128)", "#798681"),
26    ]
27