-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: many extended interval arithmetic unit tests (#31)
* fix: change cargo test profile to get correct times in benchmark * test: all add and mul tests on critical intervals * wip: planning more domain tests * fix: `is_zero` and `is_one` check for empty intervals * test: checker tests for EIF * fix: `abs` interval calculation * test: interval `neg`, `abs`, and some concrete intervals for `exp` and `log` * fix: negative cases for interval `sqrt` * test: interval `sqrt` tests * fix: `log` on negative intervals * fix: let `log` work for non-negative input * test: tests up to interval `sub` * test: interval `mul` tests * refactor: neater `is_zero` and `is_one` * style: no prints in tests * test: interval `min` and `max` * feat: interval macros * test: more `div` interval tests * feat: macros for all intervals * style: do not name all intervals * fix: be careful with `0 ^ 0` * fix: `I ^ [0, 0] = [1, 1]` * test: many tests for interval `pow`
- Loading branch information
Showing
3 changed files
with
1,540 additions
and
357 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
Oops, something went wrong.