Inspectors.cpp
Go to the documentation of this file.
00001 #include "../utest.h"
00002 
00003 using namespace std;
00004 using namespace PointMatcherSupport;
00005 
00006 //---------------------------
00007 // Inspectors
00008 //---------------------------
00009 TEST(Inspectors, PerformanceInspector)
00010 {
00011         std::shared_ptr<PM::Inspector> performances =
00012                 PM::get().REG(Inspector).create(
00013                         "PerformanceInspector", {
00014                                 {"baseFileName", "/tmp/utest_performances"},
00015                                 {"dumpPerfOnExit", "1"}
00016                         }
00017                 )
00018         ;
00019 
00020   performances->init();
00021 
00022         //TODO: we only test constructor here, check other things...
00023 }
00024 
00025 TEST(Inspectors, VTKFileInspector)
00026 {
00027         std::shared_ptr<PM::Inspector> vtkFile =
00028                 PM::get().REG(Inspector).create(
00029                         "VTKFileInspector", {
00030                                 {"baseFileName", "/tmp/utest_vtk"},
00031                                 {"dumpPerfOnExit", "1"}
00032                         }
00033                 );
00034         //TODO: we only test constructor here, check other things...
00035 }


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:31