]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/letest/letest.h
2 *******************************************************************************
4 * Copyright (C) 1999-2011, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * created on: 11/06/2000
11 * created by: Eric R. Mader
18 #include "unicode/ctest.h"
25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
27 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0])
29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type))
31 #define DELETE_ARRAY(array) free((void *) (array))
33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
44 typedef struct TestResult TestResult
;
47 U_CFUNC
void addCTests(TestNode
**root
);