Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 
14 
15 int mitkAutoCropImageFilterTest(int /*argc*/, char * /*argv*/ [])
16 {
18  std::cout << "Testing 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 }
static Pointer New()
int mitkAutoCropImageFilterTest(int, char *[])