ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/ccscs20/UnitTest.cpp
Revision: 4
Committed: 2004-05-13T17:50:29-07:00 (21 years, 1 month ago) by Douglas Thrift
File size: 404 byte(s)
Log Message:
Alive!

File Contents

# Content
1 // Unit Test
2 //
3 // Douglas Thrift
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 }

Properties

Name Value
svn:eol-style native
svn:keywords Id