forked from jnordgren/radixtree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RadixTest.h
109 lines (94 loc) · 2.24 KB
/
RadixTest.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/** AceUnit test header file for fixture RadixTest.
*
* You may wonder why this is a header file and yet generates program elements.
* This allows you to declare test methods as static.
*
* @warning This is a generated file. Do not edit. Your changes will be lost.
* @file RadixTest.h
*/
#ifndef _RADIXTEST_H
/** Include shield to protect this header file from being included more than once. */
#define _RADIXTEST_H
/** The id of this fixture. */
#define A_FIXTURE_ID 1
#include "AceUnit.h"
/* The prototypes are here to be able to include this header file at the beginning of the test file instead of at the end. */
A_Test void testRadixInsertionsAndFinds(void);
A_Test void testRadixSimpleInsertions(void);
/** The test case ids of this fixture. */
static const TestCaseId_t testIds[] = {
2, /* testRadixInsertionsAndFinds */
3, /* testRadixSimpleInsertions */
};
#ifndef ACEUNIT_EMBEDDED
/** The test names of this fixture. */
static const char *const testNames[] = {
"testRadixInsertionsAndFinds",
"testRadixSimpleInsertions",
};
#endif
#ifdef ACEUNIT_LOOP
/** The loops of this fixture. */
static const aceunit_loop_t loops[] = {
1,
1,
};
#endif
#ifdef ACEUNIT_GROUP
/** The groups of this fixture. */
static const AceGroupId_t groups[] = {
0,
0,
};
#endif
/** The test cases of this fixture. */
static const testMethod_t testCases[] = {
testRadixInsertionsAndFinds,
testRadixSimpleInsertions,
NULL
};
/** The before methods of this fixture. */
static const testMethod_t before[] = {
NULL
};
/** The after methods of this fixture. */
static const testMethod_t after[] = {
NULL
};
/** The beforeClass methods of this fixture. */
static const testMethod_t beforeClass[] = {
NULL
};
/** The afterClass methods of this fixture. */
static const testMethod_t afterClass[] = {
NULL
};
/** This fixture. */
#if defined __cplusplus
extern
#endif
const TestFixture_t RadixTestFixture = {
1,
#ifndef ACEUNIT_EMBEDDED
"RadixTest",
#endif
#ifdef ACEUNIT_SUITES
NULL,
#endif
testIds,
#ifndef ACEUNIT_EMBEDDED
testNames,
#endif
#ifdef ACEUNIT_LOOP
loops,
#endif
#ifdef ACEUNIT_GROUP
groups,
#endif
testCases,
before,
after,
beforeClass,
afterClass
};
#endif /* _RADIXTEST_H */