Skip to content

Commit

Permalink
STYLE: Use medial capitals to name variables in test
Browse files Browse the repository at this point in the history
Use medial capitals to name variables in Cxx test, and so adhere to the
ITK SWG guidelines.
  • Loading branch information
jhlegarreta committed Nov 8, 2023
1 parent c2dd992 commit 2cc791c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ itkDiscreteGaussianCurvatureQuadEdgeMeshFilterTest(int argc, char * argv[])

MeshType::Pointer mesh = reader->GetOutput();

auto gaussian_curvature = CurvatureFilterType::New();
gaussian_curvature->SetInput(mesh);
gaussian_curvature->Update();
auto gaussianCurvatureFilter = CurvatureFilterType::New();

MeshType::Pointer output = gaussian_curvature->GetOutput();
gaussianCurvatureFilter->SetInput(mesh);
gaussianCurvatureFilter->Update();

MeshType::Pointer output = gaussianCurvatureFilter->GetOutput();

using WriterType = itk::MeshFileWriter<MeshType>;
auto writer = WriterType::New();
Expand All @@ -63,7 +64,7 @@ itkDiscreteGaussianCurvatureQuadEdgeMeshFilterTest(int argc, char * argv[])
writer->Update();

// ** PRINT **
std::cout << gaussian_curvature;
std::cout << gaussianCurvatureFilter;

std::cout << "Test finished." << std::endl;
return EXIT_SUCCESS;
Expand Down

0 comments on commit 2cc791c

Please sign in to comment.