gtsam
hybrid
tests
testHybridFactorGraph.cpp
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
3
* Atlanta, Georgia 30332-0415
4
* All Rights Reserved
5
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
6
* See LICENSE for the license information
7
* -------------------------------------------------------------------------- */
8
16
#include <
CppUnitLite/Test.h
>
17
#include <
CppUnitLite/TestHarness.h
>
18
#include <
gtsam/base/TestableAssertions.h
>
19
#include <
gtsam/base/utilities.h
>
20
#include <
gtsam/hybrid/HybridFactorGraph.h
>
21
#include <
gtsam/inference/Symbol.h
>
22
#include <
gtsam/nonlinear/PriorFactor.h
>
23
24
using namespace
std
;
25
using namespace
gtsam
;
26
using
noiseModel::Isotropic
;
27
using
symbol_shorthand::L
;
28
using
symbol_shorthand::M
;
29
using
symbol_shorthand::X
;
30
31
/* ****************************************************************************
32
* Test that any linearizedFactorGraph gaussian factors are appended to the
33
* existing gaussian factor graph in the hybrid factor graph.
34
*/
35
TEST
(
HybridFactorGraph
, Constructor) {
36
// Initialize the hybrid factor graph
37
HybridFactorGraph
fg;
38
}
39
40
/* ************************************************************************* */
41
int
main
() {
42
TestResult
tr;
43
return
TestRegistry::runAllTests
(tr);
44
}
45
/* ************************************************************************* */
TestableAssertions.h
Provides additional testing facilities for common data structures.
M
Matrix< RealScalar, Dynamic, Dynamic > M
Definition:
bench_gemm.cpp:51
TestRegistry::runAllTests
static int runAllTests(TestResult &result)
Definition:
TestRegistry.cpp:27
TEST
TEST(HybridFactorGraph, Constructor)
Definition:
testHybridFactorGraph.cpp:35
TestHarness.h
L
MatrixXd L
Definition:
LLT_example.cpp:6
std
Definition:
BFloat16.h:88
Test.h
PriorFactor.h
Symbol.h
utilities.h
gtsam
traits
Definition:
chartTesting.h:28
gtsam::HybridFactorGraph
Definition:
HybridFactorGraph.h:38
TestResult
Definition:
TestResult.h:26
main
int main()
Definition:
testHybridFactorGraph.cpp:41
HybridFactorGraph.h
Factor graph with utilities for hybrid factors.
X
#define X
Definition:
icosphere.cpp:20
gtsam::noiseModel::Isotropic
Definition:
NoiseModel.h:527
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:38:22