source: util/src/unittests/AverageColumnsUnitTest.hpp@ ce0de8

Last change on this file since ce0de8 was 37ec1b, checked in by Frederik Heber <heber@…>, 16 years ago

BUGFIX: Extended AverageColumnsUnitTest, found one bug in AverageColumns.

  • Property mode set to 100644
File size: 893 bytes
Line 
1/*
2 * AveragerUnitTest.hpp
3 *
4 * Created on: Oct 29, 2009
5 * Author: heber
6 */
7
8#ifndef AVERAGERUNITTEST_HPP_
9#define AVERAGERUNITTEST_HPP_
10
11#include <cppunit/extensions/HelperMacros.h>
12
13/********************************************** Test classes **************************************/
14
15class AverageColumnsTest : public CppUnit::TestFixture
16{
17 CPPUNIT_TEST_SUITE( AverageColumnsTest) ;
18 CPPUNIT_TEST ( NoRowsTest );
19 CPPUNIT_TEST ( MissingColumnsTest );
20 CPPUNIT_TEST ( SimpleCalculationsTest );
21 CPPUNIT_TEST ( CalculationsTest );
22 CPPUNIT_TEST_SUITE_END();
23
24public:
25 void setUp();
26 void tearDown();
27 void MissingColumnsTest();
28 void NoRowsTest();
29 void SimpleCalculationsTest();
30 void CalculationsTest();
31
32private:
33 MeanErrorMap *Results;
34 IndexSet Columns;
35 istringstream input;
36};
37
38#endif /* AVERAGERUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.