Inspectors.cpp
Go to the documentation of this file.
1 #include "../utest.h"
2 
3 using namespace std;
4 using namespace PointMatcherSupport;
5 
6 //---------------------------
7 // Inspectors
8 //---------------------------
9 TEST(Inspectors, PerformanceInspector)
10 {
11  std::shared_ptr<PM::Inspector> performances =
12  PM::get().REG(Inspector).create(
13  "PerformanceInspector", {
14  {"baseFileName", "/tmp/utest_performances"},
15  {"dumpPerfOnExit", "1"}
16  }
17  )
18  ;
19 
20  performances->init();
21 
22  //TODO: we only test constructor here, check other things...
23 }
24 
25 TEST(Inspectors, VTKFileInspector)
26 {
27  std::shared_ptr<PM::Inspector> vtkFile =
28  PM::get().REG(Inspector).create(
29  "VTKFileInspector", {
30  {"baseFileName", "/tmp/utest_vtk"},
31  {"dumpPerfOnExit", "1"}
32  }
33  );
34  //TODO: we only test constructor here, check other things...
35 }
TEST
TEST(Inspectors, PerformanceInspector)
Definition: Inspectors.cpp:9
std
PointMatcher< float >::get
static const PointMatcher & get()
Return instances.
Definition: Registry.cpp:141
PointMatcherSupport
Functions and classes that are not dependant on scalar type are defined in this namespace.
Definition: Bibliography.cpp:45


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40