Commit graph

25 commits

Author SHA1 Message Date
Snaipe
e8e81a7dd5 Added expansion round on __VA_ARGS__ in assert macros for MSVC compatibility 2015-09-05 10:08:59 -07:00
Snaipe
0179f32b01 Only define _ASSERT_H when it is not already defined 2015-04-25 17:28:06 +02:00
Snaipe
b0e5becfb9 Added better deprecation message 2015-04-25 17:04:47 +02:00
Snaipe
58581f5b18 [Issue #20] Added cr_ prefix to all assertion macros 2015-04-25 16:45:31 +02:00
Snaipe
b8d44f433a Added macro alias for assert and enhanced compatibility with assert.h 2015-04-24 00:32:20 +02:00
Snaipe
589bcf60fd Added assert_null and structure arrays asserts 2015-04-14 19:44:30 +02:00
Snaipe
c583e7e742 [Issue #17] Fixed nested failed asserts not aborting the test 2015-04-14 18:39:40 +02:00
Snaipe
45793a9ede Refactored types out of criterion.h 2015-03-23 00:41:48 +01:00
Snaipe
547bd032d2 Renamed equal asserts, added asserts sample in README, added abort_test 2015-03-17 16:11:32 +01:00
Snaipe
45f9eca9cd Made asserts -pedantic compliant 2015-03-16 18:28:37 +01:00
Snaipe
32fd6376ad Removing useless extra parenthesis in assert 2015-03-11 06:38:33 +01:00
Snaipe
15ee9539fa Fixed expect_strings expanding to assert 2015-03-11 06:34:03 +01:00
Snaipe
431a683e85 Added assert_float_not_equal, fixed bad comparison operator for floating-point equality 2015-03-11 06:33:19 +01:00
Snaipe
13cbea292c Added comparison asserts over native types 2015-03-11 06:32:22 +01:00
Snaipe
b38ce35114 Added string comparison asserts 2015-03-11 04:00:36 +01:00
Snaipe
919c49853d Removed __VA_ARG__ concatenation GCC extension as it has a better alternative in this case. 2015-03-11 03:39:37 +01:00
Snaipe
e7dc892c42 Refactored assert macros 2015-03-11 03:36:54 +01:00
Snaipe
54af217d74 Made assert macros follow the function identifier coding style 2015-03-11 03:30:41 +01:00
Snaipe
602b43d501 Added floating-point number comparison asserts 2015-03-09 03:00:52 +01:00
Snaipe
3b1e8c144b [Issue #3] Added string asserts, fixed __VA_ARG__ dispatch 2015-02-08 15:40:03 +01:00
Snaipe
0f51313a2d [Issue #3] Added a bunch of asserts 2015-02-07 02:14:59 +01:00
Snaipe
7b5cad2e2c Added missing includes in main header file 2015-02-06 13:05:23 +01:00
Snaipe
b0ebd5cdde Added visual reporting for failed asserts and crashes 2015-02-05 20:35:17 +01:00
Snaipe
f90a62ecfa Added statistics gathering mechanism 2015-02-05 19:52:41 +01:00
Snaipe
7db8b3f413 Added event system to push reporting back to the parent process 2015-02-05 18:09:21 +01:00
Renamed from include/assert.h (Browse further)