ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/ccscs20/UnitTest.cpp
(Generate patch)

Comparing UnitTest.cpp (file contents):
Revision 2 by Douglas Thrift, 2004-05-12T23:40:15-07:00 vs.
Revision 4 by Douglas Thrift, 2004-05-13T17:50:29-07:00

# Line 4 | Line 4
4   //
5   // $Id$
6  
7 + #include <iostream>
8 + #include <string>
9   #include "DoublyLinkedList.hpp"
10  
11 + using namespace std;
12 +
13   int main(int argc, char* argv[])
14   {
15          DoublyLinkedList<int> list;
16  
17 +        list.addFront(1);
18 +        list.addBack(2);
19 +        cout.setf(ios_base::boolalpha);
20 +
21 +        cout << "list.contains(1) = " << list.contains(1) << '\n'
22 +                << "list.contains(3) = " << list.contains(3) << '\n';
23 +
24          return 0;
25   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines