-void dprint(string s, ...) = #25;
+void LOG_TRACE(string s, ...) = #25;
string ftos(float f) = #26;
string vtos(vector v) = #27;
void error(string e) = #10;
float test();
-void spawnfunc_worldspawn()
+spawnfunc(worldspawn)
{
float r;
- dprint("TESTCASE: START\n");
+ LOG_TRACE("TESTCASE: START");
r = test();
if(r == 1)
- error("TESTCASE: PASS");
+ error("TESTCASE: PASS");
else if(r == 0)
- error("TESTCASE: FAIL");
+ error("TESTCASE: FAIL");
else
- error("TESTCASE: INVALID");
+ error("TESTCASE: INVALID");
}