Fabcoin Core  0.16.2
P2P Digital Currency
Macros | Functions
unitester.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <cassert>
#include <string>
#include "univalue.h"
Include dependency graph for unitester.cpp:

Go to the source code of this file.

Macros

#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__); } }
 

Functions

string srcdir (JSON_TEST_SRC)
 
void unescape_unicode_test ()
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define ARRAY_SIZE (   arr)    (sizeof(arr) / sizeof((arr)[0]))

Definition at line 17 of file unitester.cpp.

#define d_assert (   expr)    { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", filename.c_str()); } }

Definition at line 24 of file unitester.cpp.

#define f_assert (   expr)    { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", __func__); } }

Definition at line 25 of file unitester.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 160 of file unitester.cpp.

Here is the call graph for this function:

string srcdir ( JSON_TEST_SRC  )
void unescape_unicode_test ( )

Definition at line 138 of file unitester.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: