- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/Parameters/unittests/ParameterStorageUnitTest.cpp
r0aa122 r118f1e 27 27 28 28 #include "Parser/Parameters/ParameterStorage.hpp" 29 #include "Parser/Parameters/ContinuousParameter.hpp" 30 #include "Parser/Parameters/DiscreteParameter.hpp" 29 #include "Parameters/Parameter.hpp" 31 30 32 31 #ifdef HAVE_TESTRUNNER … … 53 52 ValidValues.push_back(i); 54 53 range<double> ValidRange(1., 4.); 55 Parameter *intParam = new DiscreteParameter<int>("intParam", ValidValues);56 Parameter *doubleParam = new ContinuousParameter<double>("doubleParam", ValidRange);54 ParameterAsString *intParam = new Parameter<int>("intParam", ValidValues); 55 ParameterAsString *doubleParam = new Parameter<double>("doubleParam", ValidRange); 57 56 // note: delete is done by registry in tearDown ... 58 57
Note:
See TracChangeset
for help on using the changeset viewer.