Skip to content

Commit

Permalink
STYLE: Remove uninformative comments in tests
Browse files Browse the repository at this point in the history
Remove uninformative comments in tests.
  • Loading branch information
jhlegarreta committed Sep 5, 2023
1 parent 41ad697 commit b9b530f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions Modules/Core/Common/test/itkBSplineKernelFunctionTest.cxx
Expand Up @@ -20,10 +20,6 @@
#include "itkTestingMacros.h"


/*
* This test exercises the BSpline kernel function
* of various orders.
*/
int
itkBSplineKernelFunctionTest(int, char *[])
{
Expand Down
Expand Up @@ -189,7 +189,6 @@ DoubleToStringArray(double * a, unsigned int size)
int
itkExpandImageFilterTest2(int, char *[])
{
// return EXIT_FAILURE;
int statusValue = EXIT_SUCCESS;

// Test 1D: A 5 pixel long 1D image with 2 channels. Using a NearestNeighborInterpolator for simplicity. Expanding
Expand Down
3 changes: 0 additions & 3 deletions Modules/Numerics/Statistics/test/itkHistogramTest.cxx
Expand Up @@ -69,7 +69,6 @@ itkHistogramTest(int, char *[])
}


// Now call SetMeasurementVectorSize() correctly
histogram->SetMeasurementVectorSize(numberOfComponents);

if (histogram->GetMeasurementVectorSize() != numberOfComponents)
Expand All @@ -78,14 +77,12 @@ itkHistogramTest(int, char *[])
return EXIT_FAILURE;
}

// Exercise Initialize with size and bounds
histogram->Initialize(size, lowerBound, upperBound);

histogram->SetToZero();

double interval = (upperBound[0] - lowerBound[0]) / static_cast<HistogramType::MeasurementType>(size[0]);

// tests begin
MeasurementVectorType measurements(numberOfComponents);
measurements.Fill(512);

Expand Down
6 changes: 2 additions & 4 deletions Modules/Video/Core/test/itkTemporalProcessObjectTest.cxx
Expand Up @@ -522,9 +522,7 @@ class DummyTemporalProcessObject : public TemporalProcessObject
} // end namespace TemporalProcessObjectTest
} // end namespace itk

/**
* Test functionality of itkTemporalProcessObject
*/

int
itkTemporalProcessObjectTest(int, char *[])
{
Expand Down Expand Up @@ -850,7 +848,7 @@ itkTemporalProcessObjectTest(int, char *[])
std::cout << "STREAMED ENUM VALUE CallRecordEnums::MethodType: " << ee << std::endl;
}

// Return successfully

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

0 comments on commit b9b530f

Please sign in to comment.