Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/Parameters/unittests/ParameterStorageUnitTest.cpp

    r118f1e r0aa122  
    2727
    2828#include "Parser/Parameters/ParameterStorage.hpp"
    29 #include "Parameters/Parameter.hpp"
     29#include "Parser/Parameters/ContinuousParameter.hpp"
     30#include "Parser/Parameters/DiscreteParameter.hpp"
    3031
    3132#ifdef HAVE_TESTRUNNER
     
    5253    ValidValues.push_back(i);
    5354  range<double> ValidRange(1., 4.);
    54   ParameterAsString *intParam = new Parameter<int>("intParam", ValidValues);
    55   ParameterAsString *doubleParam = new Parameter<double>("doubleParam", ValidRange);
     55  Parameter *intParam = new DiscreteParameter<int>("intParam", ValidValues);
     56  Parameter *doubleParam = new ContinuousParameter<double>("doubleParam", ValidRange);
    5657  // note: delete is done by registry in tearDown ...
    5758
Note: See TracChangeset for help on using the changeset viewer.