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
Inspector
PM::Inspector Inspector
Definition: pypoint_matcher_helper.h:31
std
PointMatcher< float >::get
static const PointMatcher & get()
Return instances.
Definition: Registry.cpp:146
PointMatcherSupport
Functions and classes that are not dependant on scalar type are defined in this namespace.
Definition: Bibliography.cpp:45


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:09