RMOL Logo  0.25.2
C++ library of Revenue Management and Optimisation classes and functions
OptimiseTestSuite.hpp
Go to the documentation of this file.
00001 // STL
00002 #include <sstream>
00003 // CPPUNIT
00004 #include <cppunit/extensions/HelperMacros.h>
00005 
00006 class OptimiseTestSuite : public CppUnit::TestFixture {
00007   CPPUNIT_TEST_SUITE (OptimiseTestSuite);
00008   CPPUNIT_TEST (testOptimiseMC);
00009   CPPUNIT_TEST (testOptimiseDP);
00010   CPPUNIT_TEST (testOptimiseEMSR);
00011   CPPUNIT_TEST (testOptimiseEMSRa);
00012   CPPUNIT_TEST (testOptimiseEMSRb);
00013   CPPUNIT_TEST (testOptimiseEMSRaWithSU);
00014   //  CPPUNIT_TEST (errorCase);
00015   CPPUNIT_TEST_SUITE_END ();
00016 public:
00017 
00019   void testOptimiseMC();
00020 
00022   void testOptimiseDP();
00023 
00026   void testOptimiseEMSR();
00027 
00030   void testOptimiseEMSRa();
00031 
00034   void testOptimiseEMSRb();
00035 
00037   //  void errorCase ();
00038 
00040   OptimiseTestSuite ();
00041   
00042 protected:
00043   std::stringstream _describeKey;
00044 };
00045 
00046 CPPUNIT_TEST_SUITE_REGISTRATION (OptimiseTestSuite);