Functions
testDataset.cpp File Reference

Unit test for dataset.cpp. More...

#include <gtsam/slam/dataset.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
#include <iostream>
#include <sstream>
Include dependency graph for testDataset.cpp:

Go to the source code of this file.

Functions

static NonlinearFactorGraph expectedGraph (const SharedNoiseModel &model)
 
int main ()
 
 TEST (dataSet, findExampleDataFile)
 
 TEST (dataSet, load2D)
 
 TEST (dataSet, load2DVictoriaPark)
 
 TEST (dataSet, parseEdge)
 
 TEST (dataSet, parseVertexLandmark)
 
 TEST (dataSet, parseVertexPose)
 
 TEST (dataSet, readG2o)
 
 TEST (dataSet, readG2o3D)
 
 TEST (dataSet, readG2o3DNonDiagonalNoise)
 
 TEST (dataSet, readG2oCheckDeterminants)
 
 TEST (dataSet, readG2oHuber)
 
 TEST (dataSet, readG2oLandmarks)
 
 TEST (dataSet, readG2oTukey)
 
 TEST (dataSet, writeG2o)
 
 TEST (dataSet, writeG2o3D)
 
 TEST (dataSet, writeG2o3DNonDiagonalNoise)
 

Detailed Description

Unit test for dataset.cpp.

Author
Richard Roberts, Luca Carlone

Definition in file testDataset.cpp.

Function Documentation

◆ expectedGraph()

static NonlinearFactorGraph expectedGraph ( const SharedNoiseModel model)
static

Definition at line 296 of file testDataset.cpp.

◆ main()

int main ( )

Definition at line 413 of file testDataset.cpp.

◆ TEST() [1/16]

TEST ( dataSet  ,
findExampleDataFile   
)

Definition at line 35 of file testDataset.cpp.

◆ TEST() [2/16]

TEST ( dataSet  ,
load2D   
)

< The structure where we will save the SfM data

Definition at line 91 of file testDataset.cpp.

◆ TEST() [3/16]

TEST ( dataSet  ,
load2DVictoriaPark   
)

Definition at line 131 of file testDataset.cpp.

◆ TEST() [4/16]

TEST ( dataSet  ,
parseEdge   
)

Definition at line 75 of file testDataset.cpp.

◆ TEST() [5/16]

TEST ( dataSet  ,
parseVertexLandmark   
)

Definition at line 60 of file testDataset.cpp.

◆ TEST() [6/16]

TEST ( dataSet  ,
parseVertexPose   
)

Definition at line 45 of file testDataset.cpp.

◆ TEST() [7/16]

TEST ( dataSet  ,
readG2o   
)

Definition at line 315 of file testDataset.cpp.

◆ TEST() [8/16]

TEST ( dataSet  ,
readG2o3D   
)

Definition at line 147 of file testDataset.cpp.

◆ TEST() [9/16]

TEST ( dataSet  ,
readG2o3DNonDiagonalNoise   
)

Definition at line 221 of file testDataset.cpp.

◆ TEST() [10/16]

TEST ( dataSet  ,
readG2oCheckDeterminants   
)

Definition at line 259 of file testDataset.cpp.

◆ TEST() [11/16]

TEST ( dataSet  ,
readG2oHuber   
)

Definition at line 339 of file testDataset.cpp.

◆ TEST() [12/16]

TEST ( dataSet  ,
readG2oLandmarks   
)

Definition at line 282 of file testDataset.cpp.

◆ TEST() [13/16]

TEST ( dataSet  ,
readG2oTukey   
)

Definition at line 354 of file testDataset.cpp.

◆ TEST() [14/16]

TEST ( dataSet  ,
writeG2o   
)

Definition at line 369 of file testDataset.cpp.

◆ TEST() [15/16]

TEST ( dataSet  ,
writeG2o3D   
)

Definition at line 383 of file testDataset.cpp.

◆ TEST() [16/16]

TEST ( dataSet  ,
writeG2o3DNonDiagonalNoise   
)

Definition at line 398 of file testDataset.cpp.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:35