- 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.
-
- 01 9月, 2016 1 次提交
-
-
由 jsalling 提交于
Changes from "\0x16" before, makes it easier to copy strings from output
-
- 28 8月, 2016 3 次提交
-
-
由 jsalling 提交于
Change the parameter of UnityPrintFloat from float to double (_UD) The call to snprintf uses implict default promotion to a double anyway
-
由 jsalling 提交于
Delete old comments from before math.h was the default isinf() method
-
由 jsalling 提交于
Refactor to use the same code everywhere for FloatWithin check Rename and fix a few tests for new behavior, infinity == infinity
-
- 24 8月, 2016 1 次提交
-
-
由 jsalling 提交于
Covers the cases where infinity == infinity
-
- 23 8月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 18 7月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 11 7月, 2016 1 次提交
-
-
由 Joe Kroesche 提交于
-
- 09 7月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
- Added ability to surround filter strings in either type of quotes - Added ability to filter on multiple test strings as a comma delimited list - Added ability to filter on test_file:test_name - Added ability to use alternate syntax for filter of -f="blah"
-
- 27 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 23 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Updated method of testing generate_test_runner script to be a FUNCTIONAL test instead of a perfect code match. Backfilled most tests and added some coverage not previously present. Still need to test new command line args and a few cmock details.
-
- 22 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Script verification hasn't been added yet.
-
- 21 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 15 5月, 2016 1 次提交
-
-
由 Andrzej Bieniek 提交于
-
- 06 5月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
add UNITY_OUTPUT_FLUSH to make sure we get the output we need on aborted tests and whatnot.
-
- 04 5月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 03 5月, 2016 1 次提交
-
-
由 jsalling 提交于
Remove what looks like an overflow check. 'divisor' cannot overflow since it is the same type as 'number' and cannot be greater.
-
- 28 4月, 2016 1 次提交
-
-
由 jsalling 提交于
For easier automation and searching for a test suite failure
-
- 27 4月, 2016 2 次提交
-
-
由 Rik van der Heijden 提交于
-
由 Rik van der Heijden 提交于
-
- 26 4月, 2016 1 次提交
-
-
由 Jerry Jacobs 提交于
-
- 25 4月, 2016 2 次提交
-
-
由 jsalling 提交于
This solves the warnings from -Wredundant-decls when overriding the OUTPUT function with a function declared in another header. It's better this is the non-default option, since using it requires either a declaration of the new function OR a preprocessor guard on declaring UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function. See Pull Request #185 for more.
-
由 jsalling 提交于
These were aimed at preventing the internals header from declaring a prototype for 'int UNITY_OUTPUT_CHAR(int);'. The second part fixed an omitted declaration in the tests caused by the first commit. Will replace the default behavior & add an option for this in next commit
-
- 13 4月, 2016 2 次提交
-
-
由 Jerry Jacobs 提交于
-
由 Jerry Jacobs 提交于
-
- 03 3月, 2016 2 次提交
-
-
由 jsalling 提交于
Revert the previous commit. Add tests for extended enum cases. Fix crash due to accessing 'trait_names' array out of bounds. Adding an extra invalid value to the end of an enum causes '-Wswitch' flag to warn unless there is a switch default case - also enabled by '-Wall'.
-
由 jsalling 提交于
The clang compiler warns here with -Wunreachable-code The enum's switch statement covers all cases, so default is unused Leave the break in the code as a comment, to be more clear The history is this default case was added in f6bb7162 - compiler warning. Then the break was added in c6dc96f3.
-
- 25 2月, 2016 2 次提交
-
-
由 Matias Devenuta 提交于
With a buffer long enough, no truncation should be neccesary to format floats. Buffer length is user settable by defining UNITY_VERBOSE_NUMBER_MAX_LENGTH, otherwise a sensible default is used based on desired precision. See: http://stackoverflow.com/a/7235717
-
由 Matias Devenuta 提交于
UnityPrintFloat() overflowed with some inputs (eg. FLT_MAX)
-
- 24 2月, 2016 1 次提交
-
-
由 jsalling 提交于
Using gcc 4.8 on Ubuntu 14
-
- 13 2月, 2016 1 次提交
-
-
由 jsalling 提交于
To expose warnings use -Wconversion -m32, and *not* -D UNITY_SUPPORT_64 In 32-bit mode, the variable and parameter are the same width, so sign conversion is implicit. In 64-bit, implicit conversion is clean.
-
- 07 1月, 2016 1 次提交
-
-
由 jsalling 提交于
Make subtraction result unsigned, change prototype & casts in internals. If "actual - expected" overflowed, it wrapped to a negative number, but would fit in an unsigned type, example is INT_MAX - (-1) = INT_MIN For correctness, 'delta' should be unsigned too. Passing in a negative number always passed. The delta can be between INT_MAX & UINT_MAX.
-
- 05 1月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
- tweak docs
-
- 29 12月, 2015 1 次提交
-
-
由 Matias Devenuta 提交于
-
- 15 12月, 2015 1 次提交
-
-
由 jsalling 提交于
'divisor' ranges from 1 to 1e18, representable by a long or unsigned long 'number' becomes negative when cast as signed, so remove the cast and keep conversion warnings quiet by turning 'divisor' unsigned
-
- 11 12月, 2015 3 次提交
-
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
- Fixed a big ugly error in the fancy RUN_TEST handler
-