35 for (
int i = 0; i<22; ++i)
38 grid[i]=(double) 14*i;
41 double injectiontime = 0.5;
43 testmodel->SetTimeGrid(grid);
44 testmodel->SetTau(injectiontime);
46 CPPUNIT_ASSERT_MESSAGE(
"Check number of parameters in Model.", 4 == testmodel->GetNumberOfParameters());
47 output = testmodel->GetSignal(testparameters);
ModelTraitsInterface::ParametersType ParametersType
static const unsigned int POSITION_PARAMETER_kel
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
itk::Array< double > TimeGridType
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
ModelTraitsInterface::ModelResultType ModelResultType
static const unsigned int POSITION_PARAMETER_A
static const unsigned int POSITION_PARAMETER_kep
int mitkDescriptivePharmacokineticBrixModelTest(int, char *[])
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
static const unsigned int POSITION_PARAMETER_tlag