Skip to content

Commit

Permalink
STYLE: Remove duplicate #include statements from tests
Browse files Browse the repository at this point in the history
Found using Notepad++ v4.8.2 regular expression `#include ([^ ]+).*#include \1`
(having enabled ". matches newline").
  • Loading branch information
N-Dekker authored and dzenanz committed Oct 20, 2022
1 parent 81351fa commit 16527c1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Modules/Core/Common/test/itkFixedArrayTest2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "itkFixedArray.h"
#include <ctime>
#include <cstring>
#include <cstring>

int
itkFixedArrayTest2(int, char *[])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "itkImageFileWriter.h"
#include "itkSimpleFilterWatcher.h"
#include "itkTestingMacros.h"
#include "itkTestingMacros.h"


int
Expand Down
1 change: 0 additions & 1 deletion Modules/IO/BMP/test/itkBMPImageIOTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*=========================================================================*/
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkImageFileWriter.h"
#include "itkTestingMacros.h"
#include <fstream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "itkMeanSquaresImageToImageMetricv4.h"
#include "itkTranslationTransform.h"
#include "itkMath.h"
#include "itkMath.h"

/* Simple test to verify that class builds and runs.
* Results are not verified. See ImageToImageMetricv4Test
Expand Down

0 comments on commit 16527c1

Please sign in to comment.