#include "task.h"
#include "../src/idna.c"
#include <string.h>
Go to the source code of this file.
Value:  do {                                                                        \
    static 
const char s[] = 
"" input "";                                      \
  } while (0)
Definition at line 102 of file test-idna.c.
 
 
      
        
          | #define T | ( |  | input, | 
        
          |  |  |  | expected | 
        
          |  | ) |  |  | 
      
 
Value:  do {                                                                        \
    char d1[256] = {0};                                                       \
    static 
const char s[] = 
"" input "";                                      \
    ASSERT(
n == 
sizeof(expected));                                            \
    ASSERT(0 == memcmp(d1, expected, 
n));                                     \
              \
    ASSERT(
n == 
sizeof(expected));                                            \
    ASSERT(0 == memcmp(
d2, expected, 
n));                                     \
    ASSERT(0 == memcmp(d1, 
d2, 
sizeof(
d2)));                                  \
  } while (0)
Definition at line 109 of file test-idna.c.
 
 
◆ TEST_IMPL() [1/2]
      
        
          | TEST_IMPL | ( | idna_toascii |  | ) |  | 
      
 
 
◆ TEST_IMPL() [2/2]
      
        
          | TEST_IMPL | ( | utf8_decode1 |  | ) |  |