]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server-testcase/framework.qc
b387d303a60c3ff6df3940cab48fe406d0957b15
[divverent/nexuiz.git] / data / qcsrc / server-testcase / framework.qc
1 void dprint(string s, ...) = #25;
2 string ftos(float f) = #26;
3 string vtos(vector v) = #27;
4 void error(string e) = #10;
5 float test();
6
7 void spawnfunc_worldspawn()
8 {
9         float r;
10         r = test();
11         if(r == 1)
12                 error("TESTCASE: PASS"); 
13         else if(r == 0)
14                 error("TESTCASE: FAIL"); 
15         else
16                 error("TESTCASE: INVALID"); 
17 }