1# coding=utf-8 2from color_negative import Negative 3from .test_inkex_extensions import ColorBaseCase 4 5class ColorNegativeTest(ColorBaseCase): 6 effect_class = Negative 7 color_tests = [ 8 ("none", "none"), 9 ((0, 0, 0), "#ffffff"), 10 ((255, 255, 255), "#000000"), 11 ((192, 192, 192), "#3f3f3f"), 12 ((128, 128, 128), "#7f7f7f"), 13 ((128, 0, 0), "#7fffff"), 14 ((255, 0, 0), "#00ffff"), 15 ((128, 128, 0), "#7f7fff"), 16 ((255, 255, 0), "#0000ff"), 17 ((0, 128, 0), "#ff7fff"), 18 ((0, 255, 0), "#ff00ff"), 19 ((0, 128, 128), "#ff7f7f"), 20 ((0, 255, 255), "#ff0000"), 21 ((0, 0, 128), "#ffff7f"), 22 ((0, 0, 255), "#ffff00"), 23 ((128, 0, 128), "#7fff7f"), 24 ((255, 0, 255), "#00ff00"), 25 ] 26