Skip to content

feat(testing): UiMatrix lays views out per locale, scale and viewport - #20

Merged
zignd merged 2 commits into
mainfrom
feat/ui-matrix
Oct 10, 2026
Merged

zignd merged 2 commits into
mainfrom
feat/ui-matrix

Conversation

@zignd

@zignd zignd commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

Closes #11. UiMatrix.Run(views, locales, scalePercents, viewports, check) lays every combination out (display scale = back buffer height / design height x scale percent; logical viewport = back buffer / display scale), runs the check, and returns UiMatrixFailure items carrying view, locale, scale and viewport. UiMatrix.LayoutProblems() is a ready-made check over UIContext.FindLayoutProblems. Additive; a test that a deliberately broken view fails in exactly the expected combinations.

@zignd
zignd merged commit c871c72 into main Oct 10, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testing: UiMatrix helper in Forma.Testing

1 participant