Last change
on this file since 1120 was
409,
checked in by ymipsl, 12 years ago
|
Add improved nectdf internal library src
YM
|
-
Property svn:eol-style set to
native
|
File size:
851 bytes
|
Rev | Line | |
---|
[409] | 1 | /** \internal |
---|
| 2 | \file |
---|
| 3 | Common includes, defines, etc., for test code in the libsrc4 and |
---|
| 4 | nc_test4 directories. |
---|
| 5 | |
---|
| 6 | This is part of the netCDF package. Copyright 2005 University |
---|
| 7 | Corporation for Atmospheric Research/Unidata. See \ref copyright file |
---|
| 8 | for conditions of use. |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #ifndef _NC_TESTS_H |
---|
| 12 | #define _NC_TESTS_H |
---|
| 13 | |
---|
| 14 | #include <config.h> |
---|
| 15 | #include <assert.h> |
---|
| 16 | #include <stdio.h> |
---|
| 17 | #include <string.h> |
---|
| 18 | #include <stdlib.h> |
---|
| 19 | #ifdef USE_PARALLEL |
---|
| 20 | #include "netcdf_par.h" |
---|
| 21 | #endif |
---|
| 22 | #include "netcdf.h" |
---|
| 23 | #include "err_macros.h" |
---|
| 24 | |
---|
| 25 | /** Useful define for tests. */ |
---|
| 26 | /** \{ */ |
---|
| 27 | #define MEGABYTE 1048576 |
---|
| 28 | #define HALF_MEG (MEGABYTE/2) |
---|
| 29 | #define MILLION 1000000 |
---|
| 30 | #define SIXTEEN_MEG 16777216 |
---|
| 31 | #define FOUR_MEG (SIXTEEN_MEG/4) |
---|
| 32 | #define THIRTY_TWO_MEG (SIXTEEN_MEG * 2) |
---|
| 33 | #define SIXTY_FOUR_MEG (SIXTEEN_MEG * 4) |
---|
| 34 | #define ONE_TWENTY_EIGHT_MEG (SIXTEEN_MEG * 8) |
---|
| 35 | /** \} */ |
---|
| 36 | |
---|
| 37 | #endif /* _NC_TESTS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.