From 6582d65bddad4fed286b494d34f52dfc6bf53a0f Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Tue, 16 Apr 2024 19:43:08 -0500 Subject: [PATCH] ENH: Test QuadEdgeMeshEulerOperatorCreateCenterVertexFunction GetNameOfClass --- .../itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Modules/Core/QuadEdgeMesh/test/itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest.cxx b/Modules/Core/QuadEdgeMesh/test/itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest.cxx index ac2f6d128412..082c20d1a6cb 100644 --- a/Modules/Core/QuadEdgeMesh/test/itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest.cxx +++ b/Modules/Core/QuadEdgeMesh/test/itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest.cxx @@ -18,6 +18,7 @@ #include "itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction.h" #include "itkQuadEdgeMeshEulerOperatorsTestHelper.h" +#include "itkTestingMacros.h" int itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest(int, char *[]) @@ -73,8 +74,8 @@ itkQuadEdgeMeshEulerOperatorCreateCenterVertexTest(int, char *[]) } std::cout << "OK" << std::endl; #endif - - [[maybe_unused]] const std::string name_of_class = createCenterVertex->GetNameOfClass(); + ITK_TEST_EXPECT_EQUAL(std::string_view("QuadEdgeMeshEulerOperatorCreateCenterVertexFunction"), + std::string_view(createCenterVertex->GetNameOfClass())); createCenterVertex->SetInput(mesh); #ifndef NDEBUG