#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__); } } | 
|   | 
◆ ARRAY_SIZE
      
        
          | #define ARRAY_SIZE | 
          ( | 
            | 
          arr | ) | 
             (sizeof(arr) / sizeof((arr)[0])) | 
        
      
 
 
◆ d_assert
      
        
          | #define d_assert | 
          ( | 
            | 
          expr | ) | 
             { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", filename.c_str()); } } | 
        
      
 
 
◆ f_assert
      
        
          | #define f_assert | 
          ( | 
            | 
          expr | ) | 
             { if (!(expr)) { test_failed = true; fprintf(stderr, "%s failed\n", __func__); } } | 
        
      
 
 
◆ main()
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ srcdir()
      
        
          | std::string srcdir  | 
          ( | 
          JSON_TEST_SRC  | 
           | ) | 
           | 
        
      
 
 
◆ unescape_unicode_test()
      
        
          | void unescape_unicode_test  | 
          ( | 
           | ) | 
           |