Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Add ITK prefix to testing macros
Browse files Browse the repository at this point in the history
Add ITK prefix to testing macros.
jhlegarreta committed Sep 7, 2024
1 parent 5a6ee6c commit 6fc4175
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/itkBioCellTest.cxx
Original file line number Diff line number Diff line change
@@ -65,24 +65,24 @@ class BioCellHelper : public itk::bio::Cell<NSpaceDimension>

// Test Set/Get methods
// CellType::SetRadius( radius );
// TEST_SET_GET_VALUE(radius, egg->GetRadius());
// ITK_TEST_SET_GET_VALUE(radius, egg->GetRadius());
egg->GetRadius();

CellType::SetDefaultRadius(defaultRadius);
// TEST_SET_GET_VALUE(defaultRadius, egg->GetDefaultRadius());
// ITK_TEST_SET_GET_VALUE(defaultRadius, egg->GetDefaultRadius());

CellType::SetGrowthRadiusIncrement(growthRadiusIncrement);
// TEST_SET_GET_VALUE(growthRadiusIncrement, egg->GetGrowthRadiusIncrement());
// ITK_TEST_SET_GET_VALUE(growthRadiusIncrement, egg->GetGrowthRadiusIncrement());

CellType::SetGrowthRadiusLimit(growthRadiusLimit);
ITK_TEST_SET_GET_VALUE(growthRadiusLimit, egg->GetGrowthRadiusLimit());

CellType::SetNutrientSelfRepairLevel(nutrientSelfRepairLevel);
/*TEST_SET_GET_VALUE(nutrientSelfRepairLevel,
/*ITK_TEST_SET_GET_VALUE(nutrientSelfRepairLevel,
egg->GetNutrientSelfRepairLevel());*/

CellType::SetEnergySelfRepairLevel(energySelfRepairLevel);
// TEST_SET_GET_VALUE(energySelfRepairLevel, egg->GetEnergySelfRepairLevel());
// ITK_TEST_SET_GET_VALUE(energySelfRepairLevel, egg->GetEnergySelfRepairLevel());

CellType::SetGrowthMaximumLatencyTime(growthMaximumLatencyTime);
ITK_TEST_SET_GET_VALUE(growthMaximumLatencyTime, egg->GetGrowthMaximumLatencyTime());
@@ -91,19 +91,19 @@ class BioCellHelper : public itk::bio::Cell<NSpaceDimension>
ITK_TEST_SET_GET_VALUE(divisionMaximumLatencyTime, egg->GetDivisionMaximumLatencyTime());

CellType::SetMaximumGenerationLimit(maximumGenerationLimit);
/*TEST_SET_GET_VALUE(maximumGenerationLimit,
/*ITK_TEST_SET_GET_VALUE(maximumGenerationLimit,
egg->GetMaximumGenerationLimit());*/

CellType::SetChemoAttractantLowThreshold(chemoAttractantLowThreshold);
/*TEST_SET_GET_VALUE(chemoAttractantLowThreshold,
/*ITK_TEST_SET_GET_VALUE(chemoAttractantLowThreshold,
egg->GetChemoAttractantLowThreshold());*/

CellType::SetChemoAttractantHighThreshold(chemoAttractantHighThreshold);
/*TEST_SET_GET_VALUE(chemoAttractantHighThreshold,
/*ITK_TEST_SET_GET_VALUE(chemoAttractantHighThreshold,
egg->GetChemoAttractantHighThreshold());*/

// CellType::SetChemoAttractantLevel( chemoAttractantLevel );
// TEST_SET_GET_VALUE(chemoAttractantLevel, egg->GetChemoAttractantLevel());
// ITK_TEST_SET_GET_VALUE(chemoAttractantLevel, egg->GetChemoAttractantLevel());

egg->ClearForce();
egg->AddForce(forceVector);

0 comments on commit 6fc4175

Please sign in to comment.