int main(){ testEnterAndRetrieve(); testCopyConstructor(); testClear(); testSameKey(); testGetKeyTypeMap(); testErrors(); FINALREPORT("TEST_CONTENT_VALUE"); }
bool TestBTree::doTest() { if( benchmark ) { doBenchmark(); return true; } else { return testRandom() && testClear() && testIteration() && testComparisons() && testSearching() && testSwap() && testInsert() && testErase() && testCopy(); } }
int main(int argc, char **argv) { SceUID flag = sceKernelCreateEventFlag("set", 0, 0, NULL); PRINT_FLAG(flag); testClear("Basic 0x2", flag, 0x2); testClear("Basic 0x1", flag, 0x1); testClear("Basic 0x1", flag, 0x1); testClear("Basic 0xF000", flag, 0xF000); testClear("Zero", flag, 0); sceKernelDeleteEventFlag(flag); flag = sceKernelCreateEventFlag("signal", 0, 0xFFFFFFFE, NULL); PRINT_FLAG(flag); testClear("All but 0x1 + 0x1", flag, 0x1); sceKernelDeleteEventFlag(flag); testClear("NULL", 0, 1); testClear("Invalid", 0xDEADBEEF, 1); testClear("Deleted", flag, 1); BASIC_SCHED_TEST("NULL", result = sceKernelClearEventFlag(0, 0); );