Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkImageDataItemTest.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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
mitkImage.h
"
18
#include "
mitkImageDataItem.h
"
19
20
#include <fstream>
21
int
mitkImageDataItemTest
(
int
/*argc*/
,
char
*
/*argv*/
[])
22
{
23
auto
pixels =
new
unsigned
long
[100];
24
void
*data = pixels;
25
26
std::cout <<
"Testing pseudo-type independent deleting: "
;
27
delete
[](
unsigned
char
*) data;
28
std::cout <<
"[PASSED]"
<< std::endl;
29
30
std::cout <<
"[TEST DONE]"
<< std::endl;
31
return
EXIT_SUCCESS;
32
}
mitkImageDataItem.h
mitkImageDataItemTest
int mitkImageDataItemTest(int, char *[])
Definition:
mitkImageDataItemTest.cpp:21
mitkImage.h
git
MITK
Modules
Core
test
mitkImageDataItemTest.cpp
Generated on Fri Feb 3 2017 20:52:00 for Medical Imaging Interaction Toolkit by
1.8.9.1