1 /*
2  *  Copyright 2004, The University of Toronto
3  *  Licensed under GPL.
4  */
5 
6 #ifndef KSTTESTCASE_H
7 #define KSTTESTCASE_H
8 #include <assert.h>
9 #include <kapplication.h>
10 #include <kstdatacollection.h>
11 #include <math.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14 
15 #ifdef NAN
16 double NOPOINT = NAN;
17 #else
18 double NOPOINT = 0.0/0.0; // NaN
19 #endif
20 
21 #ifndef INF
22 double INF = 1.0/0.0;
23 #endif
24 
25 
26 #define KstTestSuccess 0
27 #define KstTestFailure -1
28 #define KstTestFailed() rc--
29 
30 #endif
31 
32 // vim: ts=2 sw=2 et
33