// From the software distribution accompanying the textbook // "A Practical Introduction to Data Structures and Algorithm Analysis, // Third Edition" by Clifford A. Shaffer, Prentice Hall, 2007. // Source code Copyright (C) 2006 by Clifford A. Shaffer. // Test program for the doubly-linked list class #include using namespace std; #include "book.h" // Include comparator functions #include "compare.h" // Include doubly linked node implementation #include "dlink.ht" // Include doubly linked list implementation #include "dlist.ht" #include "ListTest.h" // Driver class for list implementations // Main routine for array-based list driver class int main(int argc, char** argv) { // Declare some sample lists LList L1; LList L2(15); LList L3; ListTest >(L1, L2, L3); return 0; }