void runTests()
 {
     setUp();
     testBasics();
     testEqualScores(); 
     testBoost();
     testBooleanOrderUnAffected();
     testRangeQueryId();
     testRangeQueryRand();
     testBooleanMemLeaks();
 }
int main(int argc, char **argv)
{
    RTEXITCODE rcExit = RTTestInitAndCreate("tstRTSemEventMulti", &g_hTest);
    if (rcExit != RTEXITCODE_SUCCESS)
        return rcExit;

    testBasics();
    if (!RTTestErrorCount(g_hTest))
    {
        test1();
    }

    return RTTestSummaryAndDestroy(g_hTest);
}
示例#3
0
int ut_AString_Utility()
{
  std::cerr << "ut_AString_Utility" << std::endl;

  int iRet = 0x0;

  testBasics(iRet);
  NEWLINE_UNIT_TEST();
  testConversion(iRet);
  NEWLINE_UNIT_TEST();
  testTrim(iRet);
  NEWLINE_UNIT_TEST();
  testSplit(iRet);
  NEWLINE_UNIT_TEST();
  testWrap(iRet);
  NEWLINE_UNIT_TEST();
  testJustify(iRet);

  return iRet;
}
示例#4
0
文件: testgc.c 项目: lborwell/gc
int main(){
	definePrims();
	
    testBasics();
    testScavenge();
    runTest(test1());
    runTest(test2());
    runTest(bigdatacoll());
    runTest(bigdatanocoll());

    /*int i = 1;
    while(i<85){
        puts("test");
        counter = 0;
        testComp(i);
        printf("%i, %i\n",i,counter);
        i++;
    }*/

	return 0;
}