Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkIOUtil.h"
#include "mitkSurface.h"
#include "mitkTestingMacros.h"
#include <vtkPolyDataReader.h>
#include <vtkPolyDataWriter.h>
#include <iostream>
Go to the source code of this file.
Functions | |
int | mitkSurfaceVtkWriterTest (int, char *argv[]) |
int mitkSurfaceVtkWriterTest | ( | int | , |
char * | argv[] | ||
) |
Simple example for a test for the (non-existent) class "ClassName".
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 34 of file mitkSurfaceVtkWriterTest.cpp.
References MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), MITK_TEST_FAILED_MSG, mitk::Surface::New(), mitk::New(), and mitk::IOUtil::Save().