This website requires JavaScript.
Explore
Help
Sign In
3rd-party
/
Unity
Watch
1
Star
0
Fork
0
You've already forked Unity
mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced
2026-01-24 17:01:35 +01:00
Code
Issues
Releases
Wiki
Activity
Files
65ce72729caf8652f2b90b60be044a48850cb6b6
Unity
/
test
/
tests
/
testparameterized.c
Mark VanderVoord
dce6d329ff
Finished fixing floating point comparisons. We have streamlined how floats and doubles are checked, but we still can't compare them for equality directly. So we're directly testing for infinite and NaN before checking diffs. Also, we've officially decided that for testing purposes NaN shall equal NaN, +Inf shall equal +Inf, and -Inf shall equal -Inf. It's what most people expect during a test.
2016-09-22 08:35:22 -04:00
3.4 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink