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
ac455f2798cc2f2eff7e27740af487d60fbafad1
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