-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Bounds regression tests (#4001)
This PR adds regression tests based on a grid of sample points. The bounds on a surface are checked, and the result is compared to a reference matrix that is parsed from a string. In case of a mismatch a diff like this is printed: <img width="571" alt="image" src="https://github.com/user-attachments/assets/3def3100-ab59-41a7-bb83-ad7ef8c5ff60" /> We'll probably extend this to more shapes and tolerance scenarios. This is a proof of concept only.
1 parent
8e430f8
commit 87439ad
Showing
3 changed files
with
3,189 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
3,184 changes: 3,184 additions & 0 deletions
3,184
Tests/UnitTests/Core/Surfaces/BoundsRegressionTests.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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