-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct
@test
using chained comparison
(cherry picked from commit f2805a5) ref #22315 Revise `get_test_result` to work correctly with ≈ Escaping the ≈ operator would result in the displayed evaluated expression appearing as `x isapprox y` instead of `x ≈ y`. Additionally, the code was written to ensure that the arguments of `@test` are only evaluated once. (cherry picked from commit a7ba25b) Update tests to check expression output (cherry picked from commit 2a37b80) Add test for comparison calls (cherry picked from commit d4e2b57)
- Loading branch information
Showing
2 changed files
with
61 additions
and
21 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
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