source: src/Parameters/unittests/DiscreteParameterTest.hpp

Candidate_v1.6.1
Last change on this file was dbb533, checked in by Michael Ankele <ankele@…>, 13 years ago

updated Parameters' unittests

  • renamed "xxxUnitTest" -> "xxxTest" (to evade naming conflicts)
  • removed string operations
  • fixed missing template <T>s
  • Property mode set to 100644
File size: 673 bytes
Line 
1/*
2 * DiscreteParameterTest.hpp
3 *
4 * Created on: Sep 30, 2011
5 * Author: heber
6 */
7#ifndef DISCRETEPARAMETERTEST_HPP_
8#define DISCRETEPARAMETERTEST_HPP_
9
10// include config.h
11#ifdef HAVE_CONFIG_H
12#include <config.h>
13#endif
14
15#include <cppunit/extensions/HelperMacros.h>
16
17#include <vector>
18
19class DiscreteParameterTest : public CppUnit::TestFixture
20{
21 CPPUNIT_TEST_SUITE( DiscreteParameterTest ) ;
22 CPPUNIT_TEST ( comparatorTest );
23 CPPUNIT_TEST ( cloneTest );
24 CPPUNIT_TEST_SUITE_END();
25
26public:
27 void setUp();
28 void tearDown();
29
30 void comparatorTest();
31 void cloneTest();
32
33private:
34 std::vector<int> ValidValues;
35};
36
37#endif /* DISCRETEPARAMETERTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.