diff --git a/Modules/Core/Common/test/itkImageRegionTest.cxx b/Modules/Core/Common/test/itkImageRegionTest.cxx index 96c4225249a7..4d347aa02f2d 100644 --- a/Modules/Core/Common/test/itkImageRegionTest.cxx +++ b/Modules/Core/Common/test/itkImageRegionTest.cxx @@ -26,12 +26,12 @@ itkImageRegionTest(int, char *[]) constexpr unsigned int dimension = 3; - using TCoordinateType = double; + using CoordinateType = double; using RegionType = itk::ImageRegion; using IndexType = RegionType::IndexType; using SizeType = RegionType::SizeType; using SliceRegionType = RegionType::SliceRegion; - using ContinuousIndexType = itk::ContinuousIndex; + using ContinuousIndexType = itk::ContinuousIndex; using IndexNumericTraits = itk::NumericTraits; using ContinuousIndexNumericTraits = itk::NumericTraits; @@ -273,21 +273,21 @@ itkImageRegionTest(int, char *[]) std::cout << "NaN < -1 = " << (indexC[0] < -1.0) << std::endl; std::cout << "NaN > -1 = " << (indexC[0] > -1.0) << std::endl; - TCoordinateType NaN = ContinuousIndexNumericTraits::quiet_NaN(); - std::cout << "RoundHalfIntegerUp(NaN): " << itk::Math::RoundHalfIntegerUp(NaN) << std::endl; - std::cout << "RoundHalfIntegerUp< TCoordinateType >(NaN) < static_cast (0): " - << (itk::Math::RoundHalfIntegerUp(NaN) < static_cast(0)) << std::endl; - std::cout << "RoundHalfIntegerUp< TCoordinateType >(NaN) > static_cast (0): " - << (itk::Math::RoundHalfIntegerUp(NaN) > static_cast(0)) << std::endl; - auto rf = itk::Math::RoundHalfIntegerUp(NaN); - std::cout << "TCoordinateType = RoundHalfIntegerUp(NaN): " << rf << std::endl; - auto rl = itk::Math::RoundHalfIntegerUp(NaN); + CoordinateType NaN = ContinuousIndexNumericTraits::quiet_NaN(); + std::cout << "RoundHalfIntegerUp(NaN): " << itk::Math::RoundHalfIntegerUp(NaN) << std::endl; + std::cout << "RoundHalfIntegerUp< CoordinateType >(NaN) < static_cast (0): " + << (itk::Math::RoundHalfIntegerUp(NaN) < static_cast(0)) << std::endl; + std::cout << "RoundHalfIntegerUp< CoordinateType >(NaN) > static_cast (0): " + << (itk::Math::RoundHalfIntegerUp(NaN) > static_cast(0)) << std::endl; + auto rf = itk::Math::RoundHalfIntegerUp(NaN); + std::cout << "CoordinateType = RoundHalfIntegerUp(NaN): " << rf << std::endl; + auto rl = itk::Math::RoundHalfIntegerUp(NaN); std::cout << "RegionType::IndexValueType type = RoundHalfIntegerUp(NaN): " << rl << std::endl; std::cout << "static_cast( NaN ): " << static_cast(NaN) << std::endl; std::cout << "NumericTraits::min(): " << itk::NumericTraits::min() << std::endl; - std::cout << "TCoordinateType min(): " << ContinuousIndexNumericTraits::min() << std::endl; + std::cout << "CoordinateType min(): " << ContinuousIndexNumericTraits::min() << std::endl; std::cout << "...end NaN tests." << std::endl << std::endl; }