#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <cassert>
#include <string>
#include "univalue.h"
Go to the source code of this file.
|
#define | ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
|
#define | d_assert(expr) { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", filename.c_str()); } } |
|
#define | f_assert(expr) { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", __func__); } } |
|
#define ARRAY_SIZE |
( |
|
arr | ) |
(sizeof(arr) / sizeof((arr)[0])) |
#define d_assert |
( |
|
expr | ) |
{ if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", filename.c_str()); } } |
#define f_assert |
( |
|
expr | ) |
{ if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", __func__); } } |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
string srcdir |
( |
JSON_TEST_SRC |
| ) |
|
void unescape_unicode_test |
( |
| ) |
|