Skip to content

Commit

Permalink
STYLE: Replace ...CoordRepType with ...CoordinateType in tests
Browse files Browse the repository at this point in the history
Follow-up to pull request InsightSoftwareConsortium#4997
commit 324eaf1
"STYLE: Replace CoordRepType with CoordinateType in tests"
  • Loading branch information
N-Dekker committed Dec 3, 2024
1 parent 42f1565 commit f7a9236
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ itkConicShellInteriorExteriorSpatialFunctionTest(int, char *[])
constexpr unsigned int PointDimension = 3;

// Define the point coordinate representation type
using PointCoordRepType = float;
using PointCoordinateType = float;

// Define the point type
using PointType = itk::Point<PointCoordRepType, PointDimension>;
using PointType = itk::Point<PointCoordinateType, PointDimension>;

// Define the type for the conic spatial function
using ConicShellInteriorExteriorSpatialFunctionType =
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/test/itkFrustumSpatialFunctionTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ itkFrustumSpatialFunctionTest(int, char *[])
constexpr unsigned int PointDimension = 3;

// Define the point coordinate representation type
using PointCoordRepType = float;
using PointCoordinateType = float;

// Define the point type
using PointType = itk::Point<PointCoordRepType, PointDimension>;
using PointType = itk::Point<PointCoordinateType, PointDimension>;

// Define the type for the frustum spatial function
using FrustumSpatialFunctionType = itk::FrustumSpatialFunction<PointDimension, PointType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ itkTorusInteriorExteriorSpatialFunctionTest(int, char *[])
constexpr unsigned int PointDimension = 3;

// Define the point coordinate representation type
using PointCoordRepType = float;
using PointCoordinateType = float;

// Define the point type
using PointType = itk::Point<PointCoordRepType, PointDimension>;
using PointType = itk::Point<PointCoordinateType, PointDimension>;

// Define the type for the torus spatial function
using TorusInteriorExteriorSpatialFunctionType = itk::TorusInteriorExteriorSpatialFunction<PointDimension, PointType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ itkCleanQuadEdgeMeshFilterTest(int argc, char * argv[])

filter->SetInput(mesh);

typename CleanFilterType::InputCoordRepType absTol{};
typename CleanFilterType::InputCoordinateType absTol{};
filter->SetAbsoluteTolerance(absTol);
ITK_TEST_SET_GET_VALUE(absTol, filter->GetAbsoluteTolerance());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ itkLaplacianDeformationQuadEdgeMeshFilterWithSoftConstraintsTest(int argc, char
filter->SetInput(reader->GetOutput());
filter->SetOrder(1);

typename FilterType::OutputCoordRepType lambda = 1.0;
typename FilterType::OutputCoordinateType lambda = 1.0;
filter->SetLambda(lambda);
ITK_TEST_SET_GET_VALUE(lambda, filter->GetLambda());

Expand Down

0 comments on commit f7a9236

Please sign in to comment.