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 08:51:36 +01:00
Code
Issues
Releases
Wiki
Activity
Files
df2d37459bc51cdbc7a0352970995be4dff38408
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