00001
00002
00003
00004 #if !defined(TestSpatialDispersal_H)
00005 #define TestSpatialDispersal_H
00006
00007 #include <cppunit/TestFixture.h>
00008 #include <cppunit/TestCaller.h>
00009 #include <cppunit/TestSuite.h>
00010
00011 class clGridBase;
00012 class clSimManager;
00013
00025 class clTestSpatialDispersal : public CppUnit::TestFixture {
00026
00027 public:
00028
00034 void TestSpatialDisperse();
00035
00036
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 private:
00056
00064 void TestDispersal1(clSimManager *p_oSimManager);
00065
00073 void TestDispersal2(clSimManager *p_oSimManager);
00074
00075
00079 void VerifyXMLFile1Timestep1(clGridBase *p_oSeedGrid);
00080
00087 void VerifyXMLFile1Timestep2(clGridBase *p_oSeedGrid);
00088
00089
00093 void VerifyXMLFile2(clGridBase *p_oSeedGrid);
00094
00102 char* WriteXMLFile1();
00103
00111 char* WriteXMLFile2();
00112 };
00113
00114
00115 #endif // TestSpatialDispersal_H