mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
e14ee70326
Seven render, brush and effects tests accepted results well away from the value the code is meant to give: - The two linear gradient tests now expect the value at the pixel center (126 of 255, red 126 and blue 129) within 2 levels, instead of 12 or 20 around 128. - The trimmed bristle strand test bounds the width ratio on both sides. - The calligraphic roundness test expects the 0.1 pt hairline within 1e-6 pt. - Pucker & Bloat expects the corner anchor at (12.5, 12.5) and (-12.5, -12.5), not only the sign of the move. - Exposure's offset and gamma checks expect the sRGB value within 1e-5. - Smart Blur's checksums of earlier output are replaced by a 4 pixel row whose averages are worked out by hand. Each new assertion fails when the code it covers is changed (the gradient stops shifted, the pressure, roundness, pucker, offset or gamma factor changed, or the blur threshold widened).