Repository navigation
test(brushes): add brush compatibility and round-trip tests - #142
Open
wesleydanieell wants to merge 2 commits into
Open
wesleydanieell wants to merge 2 commits into
wesleydanieell wants to merge 2 commits into
Conversation
…ponse Checks the shipped kit against what it stands in for: - the eleven Procreate sets are there with a real number of brushes, and the best known brushes (6B Pencil, Round Pen, Round Brush, Soft Airbrush, Charcoal Stick, Wet Wash, Script Brush, Canvas Texture, Spray Can) are in their sets; - no two of the 204 brushes draw the same preview, the brush engine's whole range is distinct; - 6B Pencil answers pressure with opacity and grain, Soft Airbrush is soft and answers with opacity only, Studio Ink answers with size, Oil Paint mixes wet and Charcoal Stick has grain; - a pressure stroke lays more pixels and more ink at 0.95 than at 0.15 for the pencil and the airbrush.
- a .brush and a .brushset come back through their own files with their settings and their brushes in order; - a change made in the Brush Studio shows in the brush's preview and on the canvas (flow, faint and solid); - an ignored, env-driven test imports a real file from outside (BRUSH_FILE=...), reports the set, the weak previews and how many brushes draw no stroke, with BRUSH_ALL=1 for every brush.
bearinmindcat
added a commit
that referenced
this pull request
Nov 11, 2026
…und trips (#142) Co-authored-by: Wesley <danielwesley266@gmail.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds tests to help maintain brush compatibility and catch regressions as the brush engine evolves.
The new tests cover:
It also includes an optional test for importing external brush files, controlled through environment variables.
Testing
These tests provide a foundation for validating future brush engine improvements.