Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "mitkImage.h"
00020 #include "mitkImageDataItem.h"
00021
00022 #include <fstream>
00023 int mitkImageDataItemTest(int , char* [])
00024 {
00025 unsigned long *pixels = new unsigned long [100];
00026 void * data = pixels;
00027
00028 std::cout << "Testing pseudo-type independent deleting: ";
00029 delete [] (unsigned char*) data;
00030 std::cout<<"[PASSED]"<<std::endl;
00031
00032 std::cout<<"[TEST DONE]"<<std::endl;
00033 return EXIT_SUCCESS;
00034 }