Go to the source code of this file.
|
#define | fail() return __LINE__ |
|
#define | done() return 0 |
|
#define | check(cond) do { if (!(cond)) fail(); } while (0) |
|
#define check |
( |
|
cond | ) |
do { if (!(cond)) fail(); } while (0) |
Referenced by test_array(), test_array_nomem(), test_count(), test_empty(), test_input_length(), test_issue_22(), test_issue_27(), test_nonstrict(), test_object(), test_partial_array(), test_partial_string(), test_primitive(), test_string(), test_unmatched_brackets(), and test_unquoted_keys().
#define done |
( |
| ) |
return 0 |
#define fail |
( |
| ) |
return __LINE__ |