File: ksttestcase.h

package info (click to toggle)
kst 2.0.8-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 30,748 kB
  • sloc: cpp: 97,086; ansic: 13,364; python: 2,970; sh: 761; yacc: 184; lex: 143; makefile: 141; javascript: 122; perl: 30; xml: 30
file content (32 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (8)
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
/*
 *  Copyright 2004, The University of Toronto
 *  Licensed under GPL.
 */

#ifndef KSTTESTCASE_H
#define KSTTESTCASE_H
#include <assert.h>
#include <kapplication.h>
#include <kstdatacollection.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

#ifdef NAN
double NOPOINT = NAN;
#else
double NOPOINT = 0.0/0.0; // NaN
#endif

#ifndef INF
double INF = 1.0/0.0;
#endif


#define KstTestSuccess 0
#define KstTestFailure -1
#define KstTestFailed() rc--

#endif

// vim: ts=2 sw=2 et