bc251726b6
Add: Additional documentation for Unity configuration options.
2012-12-03 11:36:45 -06:00
c6c4c43ee3
Merge pull request #21 from bjones1/master
...
I love it when things are made clean! Bryan A Jones smooths out some wrinkles in WIDTH detection.
2012-11-29 18:38:27 -08:00
5b1e9818e2
Fix: Clean up UINTY_xxx_WIDTH detection.
...
Document failing approach (sizeof).
2012-11-29 15:34:09 -06:00
9c4d18d157
Merge pull request #18 from bjones1/master
...
Update tests on +/- infinity to work with MSVC++ 2008
2012-11-29 04:59:36 -08:00
f73c5fa606
Fix: - Modify tests to compile under MSVC++ EE 2008
...
- Change type of floating-point constants to single/double precision
as appropriate.
2012-11-26 11:29:47 -06:00
97000e0104
- make test runner handle spaces and dashes in file names
2012-11-25 15:52:27 -05:00
292a6eac9e
Merge pull request #17 from bjones1/master
...
Nice work, Bryan... thanks for the cleanup!
2012-11-21 05:19:21 -08:00
c2737fc71c
Fix: For floats, make sure all constants are single-precision floating point values.
...
For doubles, make sure all constants are double-precision.
2012-11-20 14:45:04 -06:00
e8d585b998
Merge pull request #12 from rryles/master
...
Improved support for special floating point values
2012-11-19 08:35:17 -08:00
2ab2fef60a
Array comparisons of floating point types fail if any values are NaN or infinite.
2012-10-31 12:34:30 +00:00
5853e24e1a
Added _MESSAGE versions of asserts for floating point specials.
2012-10-31 08:17:10 +00:00
b9b18bf547
Added new asserts to check for plus/minus infinity and NaN.
2012-10-30 17:08:43 +00:00
b14819bc79
Expanded NaN and Infinity handling to doubles.
2012-10-30 16:12:50 +00:00
899f2f2fab
UnityAssertFloatsWithin now fails any test where either a NaN or Infinite value is passed as expected or actual.
2012-10-30 16:00:00 +00:00
ae18c560bd
Added more tests for TEST_ASSERT_EQUAL_FLOAT with NaNs.
2012-10-30 15:22:28 +00:00
7b9b7d6ae2
Merge pull request #11 from rryles/master
...
Fix For Issue #10 - Thanks Ross. Nice simple solution.
2012-10-30 03:53:14 -07:00
5027763534
Fixed typo in comment.
2012-10-30 09:29:54 +00:00
83148364a5
Fix For Issue #10 - TEST_ASSERT_EQUAL_FLOAT doesn't fail if actual value is a NaN.
2012-10-30 09:00:45 +00:00
731e0f6b5f
Bump version.
v2.1.0
2012-10-03 15:01:20 -04:00
aa78d0d500
Merge pull request 'expand_unity_initializer'
2012-10-03 14:37:15 -04:00
541fb57a31
Switch up the testing strategy to handle funny architectural issues.
2012-10-03 14:17:07 -04:00
4d7c539715
Merge pull request from 'panx/master'.
2012-10-03 14:00:28 -04:00
b1a991c6c3
Use a better message and change the test name.
2012-10-03 13:47:18 -04:00
aaddd1cd80
Add test that will break if the _Unity struct ever changes.
2012-10-03 12:44:02 -04:00
3d1f3a5a00
Fully expand Unity struct.
2012-10-01 17:31:40 -04:00
8661f3f281
Merge pull request #5 from wsp/master
...
Pull request.
2012-09-06 16:20:56 -07:00
8152932fe7
Merge pull request #8 from alejmrm/fix_within_message
...
Fix issue #7 INTx_WITHIN_MESSAGE() macro
2012-09-06 16:19:14 -07:00
e95f662683
Fix issue \#7 INTx_WITHIN_MESSAGE() macro
...
The reason that TEST_ASSERT_xyz_WITHIN_MESSAGE() family of functions
doesn't print any message is because is calling a re-use macro from the
TEST_ASSERT_xyz_WITHIN() family of functions. Due this two functions in
unity.h calls the same function from unity_internals.h, the message is
nullified at this point. The issue is fix by passing _message_ arg to
the 4th argument of *UnityAssertNumbersWithin()* function.
2012-08-28 15:06:09 -07:00
51af84a727
adding test cases to complete the testing list
2012-08-27 00:36:51 -04:00
c5ba747a24
Fix typos in unity_test_summary.rb usage statement.
2012-08-17 22:51:21 -04:00
b7d9d007ce
Merge branch 'master' of github.com:ThrowTheSwitch/Unity
...
Conflicts:
src/unity_internals.h
2012-06-20 20:03:36 -04:00
4724af154c
Added directory task to create temp build/ folder, and added .gitignore to prevent this new folder form being tracked by git.
2012-06-20 23:51:51 +00:00
91ea65ca12
- I've decided to automatically turn on 64-bit support if the pointers, ints, or longs require it.
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@142 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-28 01:07:35 +00:00
4ddc77efd6
- docs are now caught up to latest feature set
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@141 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 23:37:56 +00:00
c4f0537c0c
- changed the default handling to always include stdint unless told to exclude it.
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@140 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 21:54:53 +00:00
dbdc603024
- further fixes to pointer auto-detect
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@139 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 21:48:49 +00:00
c1b954eb9d
- added size auto-detection support from limits.h
...
- fixed error in _INT macro size guessing
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@138 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 20:29:33 +00:00
4742b5d77a
Change gcc.yml default to gcc_32.yml (explicitly compile for 32-bit target)
2012-04-27 11:53:12 -04:00
d0c3f24f4d
If using UNITY_SUPPORT_64, UNITY_POINTER_WIDTH should default to 64 (not 32).
...
Fixes failing test cases on 64-bit OSX: pointers to local variables were
being converted to U32s before comparison.
2012-04-27 10:31:54 -04:00
17663feed2
Added directory task to create temp build/ folder, and added .gitignore to prevent this new folder form being tracked by git.
2012-02-13 08:44:04 -05:00
d0d5ec5d75
- unity_test_summary script callable from command line again
...
- fixed obj_file sorting in rakefiles
- gave better anchors for gcc to grab on test pass/fail by breaking them out as functions
- fixed minor type issues
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@137 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-01-02 21:38:36 +00:00
3a82e1eeab
- fixed summarizer to handle more generic input
...
- ignore comments in test parser
- fixed a couple bugs in 16-bit support
- fixed minor compiler errors for less lenient compilers
- fixed error in docs.
- renamed link to link_it in rakefiles to avoid collision in new versions of rake
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@136 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-10-11 02:40:04 +00:00
152e78a4a8
- cleaned up pointer support to handle arrays and to give error when you have an illegal configuration
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@135 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-05-14 15:52:52 +00:00
504bf2edee
- fixed conditional self-tests
...
- rolled in DOUBLE support from Mark Vismer (thanks!)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@134 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-05-03 11:05:56 +00:00
7deba78730
- backed out Mike's incorrect changes to generate_test_runner
...
- made generate_test_runner's two include groups more clearly differentiated
- added negative tests to int16's.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@133 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-28 00:29:20 +00:00
b44d3f3e9d
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@132 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-27 04:36:26 +00:00
9691acfb82
fixed forgotten includes
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@131 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-27 04:24:05 +00:00
43b4c94f7b
- protect against ints that only have differences in higher nibbles that shouldn't be part of comparison
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@130 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-20 11:56:56 +00:00
114755e200
- renamed parts of test hash used internally so ceedling can inject information more easily.
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@129 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-17 23:01:26 +00:00
39654f36e8
- separated generate step in test runner generator
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@128 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-15 01:01:39 +00:00