| 1 |
/* |
| 2 |
* COPYRIGHT (c) International Business Machines Corp. 2021 |
| 3 |
* |
| 4 |
* This program is provided under the terms of the Common Public License, |
| 5 |
* version 1.0 (CPL-1.0). Any use, reproduction or distribution for this |
| 6 |
* software constitutes recipient's acceptance of CPL-1.0 terms which can be |
| 7 |
* found in the file LICENSE file or at |
| 8 |
* https://opensource.org/licenses/cpl1.0.php |
| 9 |
*/ |
| 10 |
#ifndef UNITTEST_H |
| 11 |
#define UNITTEST_H |
| 12 |
|
| 13 |
/* AUTOTOOLS definitions for tests */ |
| 14 |
#define TEST_SKIP 77 |
| 15 |
#define TEST_FAIL 99 |
| 16 |
#define TEST_PASS 0 |
| 17 |
|
| 18 |
#define ARRAYSIZE(X) (sizeof((X))/sizeof((X)[0])) |
| 19 |
|
| 20 |
#endif |