- 22 9月, 2017 1 次提交
-
-
由 jsalling 提交于
-
- 26 8月, 2017 2 次提交
-
-
由 John Lindgren 提交于
-
由 John Lindgren 提交于
The existing implementation was not very good: - It printed all very small values as "0.000000..." - It did not distinguish positive and negative zero - In some cases it printed extra garbage digits for single-precision values (e.g. 3.9e+30 was printed as 3.90000013+30) Tests have been updated to check that we now match printf("%.6g") for 1,000,000 randomly chosen values, except for rounding of the 6th digit.
-
- 04 8月, 2017 1 次提交
-
-
由 Aviv Palivoda 提交于
-
- 02 8月, 2017 1 次提交
-
-
由 Aviv Palivoda 提交于
-
- 14 5月, 2017 1 次提交
-
-
由 Dom Postorivo 提交于
-
- 30 3月, 2017 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 29 3月, 2017 2 次提交
-
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
Started to flesh out rubocop settings for this project. Added rakefile tasks to do so. Updated first script to make it compliant.
-
- 28 3月, 2017 1 次提交
-
-
由 Mark VanderVoord 提交于
Starting to enforce our coding style. The first step is that we’ve pulled in Rubocop to check out Ruby syntax. There is likely a bit of customization to do yet AND there is definitely that backlog of todo’s that we just told it to ignore.
-
- 27 3月, 2017 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 22 3月, 2017 5 次提交
-
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
- 15 3月, 2017 1 次提交
-
-
由 Mark VanderVoord 提交于
Turn UNITY_OUTPUT_FLUSH off by default. Added a quick-define for the most common case: UNITY_USE_FLUSH_STDOUT. Clarified documentation. Fixes issue #269
-
- 14 3月, 2017 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 24 1月, 2017 1 次提交
-
-
由 jsalling 提交于
Correct clean target and print test fails during coverage in Makefile
-
- 18 1月, 2017 1 次提交
-
-
由 jsalling 提交于
Delete clang flags that were disabled with -Wno-*
-
- 15 1月, 2017 1 次提交
-
-
由 jsalling 提交于
Using this option changes the control flow of Unity, but is useful on constrained embedded systems. You can't fully simulate the power of 'longjmp' with just 'return', but Unity still works well, all tests pass.
-
- 01 1月, 2017 1 次提交
-
-
由 jsalling 提交于
-
- 30 12月, 2016 3 次提交
- 25 12月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 24 12月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 03 12月, 2016 1 次提交
-
-
由 Matt Chernosky 提交于
This resolves #219. When generating a new module, if all the files to generate already exist then it fails as before. If some of the files already exist, then the files that need to be created are created. Any existing files are not changed. Also added a bunch of tests for this feature via rspec. Run them from the test folder with `rake spec`.
-
- 29 11月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Revised internal type naming scheme to better sandbox Unity away from everything else. Sure, short was nice, but not at the expense of naming collisions.
-
- 20 11月, 2016 8 次提交
-
-
由 jsalling 提交于
Takes about 10 minutes to run all floats, so split into 3 tests for parallel running later. This was useful during development for finding hard corner cases and getting the routine to high quality. Off by default. Note that all floats 16.0 and up can be represented uniquely (in this format) and will round-trip back to the exact same float with sscanf(). This property is true for UnityPrintFloat, despite a few rounding error cases, it will produce output identity. Better comments and refactor on round ties to even Add upper threshold value on round to even feature since numerical precision issues start to give approximations when dividing one large double by another. When tested on float values, using 1e22 gave the fewest rounding errors. Fix warnings from gcc. Some float constants do not behave well in existing tests. Add casts where conversions could be imprecise.
-
由 jsalling 提交于
Move double tests down in the file
-
由 jsalling 提交于
-
由 jsalling 提交于
Remove UNITY_FLOAT_VERBOSE entirely, add option UNITY_EXCLUDE_FLOAT_PRINT Remove some questionable float casts from doubles Default to Round Ties to Even behavior, add option to Round Ties Away from Zero
-
由 jsalling 提交于
Linux gcc & clang and OSX clang produce output with ties round to even Windows mingw gcc does not Example 0.0078125 prints '0.007812'
-
由 jsalling 提交于
-
由 jsalling 提交于
-
由 jsalling 提交于
-
- 17 11月, 2016 1 次提交
-
-
由 Jean Carlo Machado 提交于
-
- 11 10月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 22 9月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
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.
-