Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkAutoCropImageFilterTest.cpp
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#include "
mitkAutoCropImageFilter.h
"
14
15
int
mitkAutoCropImageFilterTest
(
int
/*argc*/
,
char
*
/*argv*/
[])
16
{
17
mitk::AutoCropImageFilter::Pointer
filter;
18
std::cout <<
"Testing mitk::AutoCropImageFilter::New(): "
;
19
filter =
mitk::AutoCropImageFilter::New
();
20
if
(filter.IsNull())
21
{
22
std::cout <<
"[FAILED]"
<< std::endl;
23
return
EXIT_FAILURE;
24
}
25
else
26
{
27
std::cout <<
"[PASSED]"
<< std::endl;
28
}
29
30
// std::cout << "Testing mitk::SurfaceToImageFilter::*TESTED_METHOD_DESCRIPTION: ";
32
// if (filter.IsNull()) {
33
// std::cout<<"[FAILED]"<<std::endl;
34
// return EXIT_FAILURE;
35
//}
36
// else {
37
// std::cout<<"[PASSED]"<<std::endl;
38
//}
39
40
std::cout <<
"[TEST DONE]"
<< std::endl;
41
return
EXIT_SUCCESS;
42
}
mitkAutoCropImageFilter.h
mitk::AutoCropImageFilter::New
static Pointer New()
itk::SmartPointer< Self >
mitkAutoCropImageFilterTest
int mitkAutoCropImageFilterTest(int, char *[])
Definition:
mitkAutoCropImageFilterTest.cpp:15
Source
Modules
AlgorithmsExt
test
mitkAutoCropImageFilterTest.cpp
Generated on Thu Mar 12 2020 10:23:39 for Medical Imaging Interaction Toolkit by
1.8.13