// From the software distribution accompanying the textbook // "A Practical Introduction to Data Structures and Algorithm Analysis, // Third Edition (C++)" by Clifford A. Shaffer. // Source code Copyright (C) 2007-2011 by Clifford A. Shaffer. // Timing test for freelists: Freelist version // Compare this running time against freetest1 #include "book.h" // Include the link template class -- with freelist #include "linkFL.h" // Include the timing test used by both versions #include "freetest.h" int main(int argc, char** argv) { Assert(argc == 2, "Usage: freetest "); int count = atol(argv[1]); freetest(count); return 0; }