Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

StackTest.hh

Go to the documentation of this file.
00001 /* -*- Mode:C++ -*- */
00002 #include "Stack.hh"
00003 #include "UnitTest.hh"
00004 #include <iostream>
00005 
00006 class StackTest : public ccunit::UnitTest
00007 {
00008   enum {SIZE = 5};
00009   Stack<int> stk;
00010 
00011 public:
00012   StackTest();
00013 
00014   void run_tests();
00015 
00016   void testBadSize();
00017 
00018   void testUnderflow();
00019 
00020   void testPopulate();
00021 
00022   void testOverflow();
00023 
00024   void testPop();
00025 };

Generated on Tue Apr 2 15:33:22 2002 for libccunit by doxygen 1.2.14 written by Dimitri van Heesch, © 1997-2002

Project hosted on sourceforge SourceForge Logo