00001 #ifndef _LINEARLEASTSQUARESTESTCASE_H
00002 #define _LINEARLEASTSQUARESTESTCASE_H
00003
00004 #include <TestCase.h>
00005 #include <extensions/HelperMacros.h>
00006
00007 using namespace CppUnit;
00008
00009 class LinearLeastSquaresTestCase : public TestCase
00010 {
00011 CPPUNIT_TEST_SUITE(LinearLeastSquaresTestCase);
00012 CPPUNIT_TEST(testLinearFit);
00013 CPPUNIT_TEST(testMatrixOperations);
00014 CPPUNIT_TEST(testChi2one);
00015 CPPUNIT_TEST(testChi2two);
00016 CPPUNIT_TEST_SUITE_END();
00017
00018 public:
00019 LinearLeastSquaresTestCase();
00020 virtual ~LinearLeastSquaresTestCase();
00021 void testLinearFit();
00022 void testMatrixOperations();
00023 void testChi2one();
00024 void testChi2two();
00025 };
00026
00027 #endif