mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
f0dbad051c
Weak tests in vectorcraft-render and vectorcraft-trace now assert the behavior they name: - The stroke glow test checks that the glow is drawn and that four threads draw what one does, instead of only rendering. - The JPEG and palette id tests name saved ids and labels directly (gray, optimized, none, blackWhite), unknown and empty ids, instead of looping over every value and reading its own id back. - The trace presets test drops the loop over every preset name, which presets().len() already covers, and checks the [Default] and padded name lookups by their result. - Nested discs each get the disc below them as parent, checked exactly. - A 20 degree bend gets no corner under a 30 degree minimum turn, and gets one under a 10 degree minimum. - The gray BMP, reduced CMYK and tiled image tests check the size of what they read, and the long stroke tests check that one outline was made before checking that none is cropped. - The three drag timing probes assert that the frame after the drag is what a fresh renderer draws, in place of printing two hashes.