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-25 17:31:36 +01:00
Code
Issues
Releases
Wiki
Activity
Files
a15f0da0d0003ace3c5f51280fde6bfdd0222e05
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