Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTransferFunctionTest.cpp File Reference
#include "mitkTransferFunction.h"
#include "mitkTransferFunctionInitializer.h"
#include "mitkTestingMacros.h"
#include <iostream>

Go to the source code of this file.


int mitkTransferFunctionTest (int, char *[])

Function Documentation

int mitkTransferFunctionTest ( int  ,
char *  [] 

Unit test for class mitk::TransferFunction.

argc and argv are the command line parameters which were passed to the ADD_TEST command in the CMakeLists.txt file. For the automatic tests, argv is either empty for the simple tests or contains the filename of a test image for the image tests (see CMakeLists.txt).

Definition at line 32 of file mitkTransferFunctionTest.cpp.

References MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), mitk::TransferFunctionInitializer::New(), and mitk::TransferFunction::New().