mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 22:19:00 +00:00
The Normal-mode test compares the default output with blurMode=normal, so a fault both share passes it. Three checks now stand on their own: - A 6-pixel row at radius 2 checks exact averages that a radius-1 search gives differently (105 and 115 at the ends instead of 110). - A step from gray 100 to 200 at radius 12 checks that the pixels next to the step read the box-blurred copy at threshold 50 and keep their gray at threshold 30, that pixels far from the step keep theirs, and that medium quality takes in less of the other gray than low. - A one-column gray-200 stripe at radius 12 checks that a neighbour whose own value is past the threshold stays out even when its blurred value is within it. - A 5 x 5 image at radius 2 checks that a pixel two columns away counts and one two columns and two rows away (outside the disc) does not. - A 7 x 7 image with default settings checks that the default radius of 3 reaches a pixel three columns away. - The radius-1 threshold test gives its last two pixels the same color with alpha 255 and 128, so it fails if alpha is left out.