Skip to content

Commit

Permalink
STYLE: Use proper capital letters following ITK convention
Browse files Browse the repository at this point in the history
  • Loading branch information
PranjalSahu committed Apr 28, 2022
1 parent 366c51e commit 22d0b9c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Modules/IO/MeshVTK/test/itkMeshFileReadWriteTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ itkMeshFileReadWriteTest(int argc, char * argv[])

bool isBinary = (argc > 3);

constexpr unsigned int dimension = 3;
constexpr unsigned int Dimension = 3;
using PixelType = float;

using MeshType = itk::Mesh<PixelType, dimension>;
using QEMeshType = itk::QuadEdgeMesh<PixelType, dimension>;
using MeshType = itk::Mesh<PixelType, Dimension>;
using QEMeshType = itk::QuadEdgeMesh<PixelType, Dimension>;

int result = EXIT_SUCCESS;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ itkMeshFileReadWriteVectorAttributeTest(int argc, char * argv[])
return EXIT_FAILURE;
}

bool IsBinary = (argc > 3);
bool isBinary = (argc > 3);

constexpr unsigned int dimension = 3;
using PixelType = itk::CovariantVector<float, dimension>;
constexpr unsigned int Dimension = 3;
using PixelType = itk::CovariantVector<float, Dimension>;

using MeshType = itk::Mesh<PixelType, dimension>;
using QEMeshType = itk::QuadEdgeMesh<PixelType, dimension>;
using MeshType = itk::Mesh<PixelType, Dimension>;
using QEMeshType = itk::QuadEdgeMesh<PixelType, Dimension>;

int result = EXIT_SUCCESS;

if (test<MeshType>(argv[1], argv[2], IsBinary))
if (test<MeshType>(argv[1], argv[2], isBinary))
{
std::cerr << "Failure for itk::Mesh" << std::endl;
result = EXIT_FAILURE;
}

if (test<QEMeshType>(argv[1], argv[2], IsBinary))
if (test<QEMeshType>(argv[1], argv[2], isBinary))
{
std::cerr << "Failure for itk::QuadEdgeMesh" << std::endl;
result = EXIT_FAILURE;
Expand Down
8 changes: 4 additions & 4 deletions Modules/IO/MeshVTK/test/itkPolylineReadWriteTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ itkPolylineReadWriteTest(int argc, char * argv[])
return EXIT_FAILURE;
}

bool IsBinary = (argc > 3);
bool isBinary = (argc > 3);

constexpr unsigned int dimension = 3;
constexpr unsigned int Dimension = 3;
using PixelType = itk::VariableLengthVector<float>;
using MeshType = itk::Mesh<PixelType, dimension>;
using MeshType = itk::Mesh<PixelType, Dimension>;

if (test<MeshType>(argv[1], argv[2], IsBinary))
if (test<MeshType>(argv[1], argv[2], isBinary))
{
return EXIT_FAILURE;
}
Expand Down

0 comments on commit 22d0b9c

Please sign in to comment.