NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Functions
niftkDeliberateMemoryLeakTest.cxx File Reference
Include dependency graph for niftkDeliberateMemoryLeakTest.cxx:

Functions

int niftkDeliberateMemoryLeakTest (int argc, char *argv[])
 

Function Documentation

int niftkDeliberateMemoryLeakTest ( int  argc,
char *  argv[] 
)

Basic test harness that is meant to create a memory leak, so we can make sure valgrind is working. This isn't a unit test as such, as it always returns EXIT_SUCCESS, but we are simply making sure that valgrind is running unit tests, and checking for memory leaks.