diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-12-31 13:01:50 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-01-02 18:31:35 +0100 |
commit | ada6057b8ccab133909b127850c41abb3216a842 (patch) | |
tree | 267517ab8c8ac2552ee4dbcc6d3b2c72db6bec94 /test/radial-gradient-source.image16.ref.png | |
parent | b4aa01f72f98d71bded5f6fa3eaf3d12ad30eb2c (diff) |
test: New radial-gradient tests
The old radial gradient tests were actually drawing the same gradients
with different operators (OVER/SOURCE) and operations (paint/mask).
It is possible to refactor them to share the gradient construction
code. This makes it easy to change the gradient shape in all of them
to test more interesting combinations.
Instead of testing 16 generic positions we are now testing just 7
cases, which correspond to every possible combination of the relative
size and position of the two circles defining the gradient. In
particular we are now testing a constant radius gradient and gradients
with tangent circles.
Diffstat (limited to 'test/radial-gradient-source.image16.ref.png')
-rw-r--r-- | test/radial-gradient-source.image16.ref.png | bin | 119942 -> 169796 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/radial-gradient-source.image16.ref.png b/test/radial-gradient-source.image16.ref.png Binary files differindex 8c815df33..f992b6f39 100644 --- a/test/radial-gradient-source.image16.ref.png +++ b/test/radial-gradient-source.image16.ref.png |