00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #include "mitkAutoCropImageFilter.h" 00020 00021 00022 int mitkAutoCropImageFilterTest(int /*argc*/, char* /*argv*/[]) 00023 { 00024 mitk::AutoCropImageFilter::Pointer filter; 00025 std::cout << "Testing mitk::AutoCropImageFilter::New(): "; 00026 filter = mitk::AutoCropImageFilter::New(); 00027 if (filter.IsNull()) 00028 { 00029 std::cout<<"[FAILED]"<<std::endl; 00030 return EXIT_FAILURE; 00031 } 00032 else { 00033 std::cout<<"[PASSED]"<<std::endl; 00034 } 00035 00036 //std::cout << "Testing mitk::SurfaceToImageFilter::*TESTED_METHOD_DESCRIPTION: "; 00038 //if (filter.IsNull()) { 00039 // std::cout<<"[FAILED]"<<std::endl; 00040 // return EXIT_FAILURE; 00041 //} 00042 //else { 00043 //std::cout<<"[PASSED]"<<std::endl; 00044 //} 00045 00046 std::cout<<"[TEST DONE]"<<std::endl; 00047 return EXIT_SUCCESS; 00048 }