Esempio n. 1
0
//A simple main function which creates a list, and tests it.
int main(){
  testCtor();
  testBasicMethods();
  testGrow();

  return 0;
}
Esempio n. 2
0
//A simple main function which creates a queue, and tests it.
int main(){
  ArrayQueue<int> testQueue;
  testCtor(testQueue);
  testAddRemove(testQueue);
  testAroundTheHorn(testQueue);
  testGrow(testQueue);
  testRemoveException(testQueue);

  return 0;
}
Esempio n. 3
0
int main(void)
{

    RwlockInit( &lock, 1 );

    testInit();
    testMark();
    testGrow();
    testGather();

    RwlockCleanup( &lock );
    return 0;
}