]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/letest/letest.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 1999-2014, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
12 * created on: 11/06/2000
13 * created by: Eric R. Mader
21 #include "layout/LETypes.h"
25 #include "unicode/ctest.h"
32 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
34 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0])
36 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type))
38 #define DELETE_ARRAY(array) free((void *) (array))
40 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
51 typedef struct TestResult TestResult
;
54 U_CFUNC
void addCTests(TestNode
**root
);