NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
niftk-nightly
Libraries
Common
Testing
Meshing
niftkMeshingUnitTestHelpers.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
NifTK: A software platform for medical image computing.
4
5
Copyright (c) University College London (UCL). All rights reserved.
6
7
This software is distributed WITHOUT ANY WARRANTY; without even
8
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
PURPOSE.
10
11
See LICENSE.txt in the top level directory for details.
12
13
=============================================================================*/
14
15
#ifndef niftkMeshingUnitTestHelpers_h
16
#define niftkMeshingUnitTestHelpers_h
17
18
#define niftkMeshingAssert(COND) \
19
{\
20
if(!(COND))\
21
{\
22
std::cerr << "Test failed " << __FILE__ << ":" << __LINE__;\
23
std::cerr << " in function " << __FUNCTION__ << std::endl;\
24
std::cerr << "Condition: " << #COND;\
25
abort();\
26
}\
27
}
28
29
#endif
/* MESHINGUNITTESTHELPERS_H_ */
Generated on Thu Aug 4 2016 06:02:51 for NifTK by
1.8.8