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