Example #1
0
void testAll() {
  testMakeList();
  testSymbols();
  testParse();
  testEval();
  testParseAndEval();
  testSerialize();
  testInterpret();
}
Example #2
0
int main(){
    srand(time(0));
    testMakeList(); // Also tests print
    testAddToHead();
    testGetNumElements();
    testFindElement();
    testDelList();
    testAddToTail();
    testChangeValueAtN();
    testInsertAtN();
    testDeleteAtN();

    printf(">> All basic tests completed! <<\n");
    printf(">> Now starting stress tests... <<\n");
    stressTests();
    printf(">> Congratulations, stress tests passed! <<\n");

    return 0;
}