1 |
|
|
/* |
2 |
|
|
Teem: Tools to process and visualize scientific data and images . |
3 |
|
|
Copyright (C) 2013, 2012, 2011, 2010, 2009 University of Chicago |
4 |
|
|
Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann |
5 |
|
|
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah |
6 |
|
|
|
7 |
|
|
This library is free software; you can redistribute it and/or |
8 |
|
|
modify it under the terms of the GNU Lesser General Public License |
9 |
|
|
(LGPL) as published by the Free Software Foundation; either |
10 |
|
|
version 2.1 of the License, or (at your option) any later version. |
11 |
|
|
The terms of redistributing and/or modifying this software also |
12 |
|
|
include exceptions to the LGPL that facilitate static linking. |
13 |
|
|
|
14 |
|
|
This library is distributed in the hope that it will be useful, |
15 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 |
|
|
Lesser General Public License for more details. |
18 |
|
|
|
19 |
|
|
You should have received a copy of the GNU Lesser General Public License |
20 |
|
|
along with this library; if not, write to Free Software Foundation, Inc., |
21 |
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22 |
|
|
*/ |
23 |
|
|
|
24 |
|
|
#include "teem/meet.h" |
25 |
|
|
|
26 |
|
|
/* |
27 |
|
|
** Tests: |
28 |
|
|
** meetAirEnumAllCheck |
29 |
|
|
** meetAirEnumAllPrint |
30 |
|
|
*/ |
31 |
|
|
|
32 |
|
|
int |
33 |
|
|
main(int argc, const char **argv) { |
34 |
|
|
const char *me; |
35 |
|
|
char *err = NULL; |
36 |
|
|
|
37 |
|
|
AIR_UNUSED(argc); |
38 |
|
2 |
me = argv[0]; |
39 |
|
|
|
40 |
✗✓ |
1 |
if (meetAirEnumAllCheck()) { |
41 |
|
|
err = biffGetDone(MEET); |
42 |
|
|
fprintf(stderr, "%s: trouble:\n%s", me, err); |
43 |
|
|
free(err); |
44 |
|
|
return 1; |
45 |
|
|
} |
46 |
|
|
/* can call this, but not clear how to TEST it per se */ |
47 |
|
1 |
meetAirEnumAllPrint(stdout); |
48 |
|
|
|
49 |
|
1 |
return 0; |
50 |
|
1 |
} |