Files
vectorcraft/crates
dotCooCoo 72b0bdad60 Tests: Smart Blur checks hand-calculated pixels at radius 2 and 12
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.
2026-12-01 03:17:36 -08:00
..
2026-11-30 13:39:42 +01:00
2026-11-27 19:12:32 -08:00