blob: d9e7e06167339507f2d273dd8121b56073dfeb81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env python
# coding=utf-8
from interp_att_g import InterpAttG
from inkex.tester import ComparisonMixin, TestCase
class InterpAttGBasicTest(ComparisonMixin, TestCase):
effect_class = InterpAttG
comparisons = [('--id=layer1',)]
class InterpAttGColorRoundingTest(ComparisonMixin, TestCase):
effect_class = InterpAttG
compare_file = 'svg/group_interpolate.svg'
comparisons = {
# test for truncating/rounding bug inbox#1892
('--id=g53', '--att=fill', '--start-val=#181818', '--end-val=#000000'),
# test for clipping of values <= 1
('--id=g53', '--att=fill', '--start-val=#050505', '--end-val=#000000')}
|