6 void TEST_Fail(string cond)
8 LOG_INFOF("Assertion failed: ", cond);
18 int TEST_RunAll_accumulated(int init);
21 int f = TEST_RunAll_accumulated(0);
24 LOG_INFOF("%d tests failed\n", f);
29 LOG_INFO("All tests OK\n");
34 bool TEST_Run(string s)
36 LOG_INFOF("%s: testing...\n", s);
39 callfunction(strcat("_TEST_", s));
42 LOG_INFOF("%s: %d items failed.\n", s, TEST_failed);
47 LOG_INFOF("%s: did not complete.\n", s);