Namespaces | Functions | Variables
testHybridGaussianFactor.cpp File Reference

Unit tests for HybridGaussianFactor. More...

#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/discrete/DiscreteConditional.h>
#include <gtsam/discrete/DiscreteValues.h>
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridGaussianConditional.h>
#include <gtsam/hybrid/HybridGaussianFactor.h>
#include <gtsam/hybrid/HybridGaussianFactorGraph.h>
#include <gtsam/hybrid/HybridValues.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/VectorValues.h>
#include <gtsam/nonlinear/PriorFactor.h>
#include <gtsam/slam/BetweenFactor.h>
#include <CppUnitLite/TestHarness.h>
#include <memory>
Include dependency graph for testHybridGaussianFactor.cpp:

Go to the source code of this file.

Namespaces

 test_constructor
 

Functions

DiscreteKey test_constructor::m1 (1, 2)
 
int main ()
 
 TEST (HybridGaussianFactor, Constructor)
 
 TEST (HybridGaussianFactor, ConstructorVariants)
 
 TEST (HybridGaussianFactor, Error)
 
 TEST (HybridGaussianFactor, HybridGaussianConditional)
 
 TEST (HybridGaussianFactor, Keys)
 
 TEST (HybridGaussianFactor, Printing)
 

Variables

auto test_constructor::A1 = Matrix::Zero(2, 1)
 
auto test_constructor::A2 = Matrix::Zero(2, 2)
 
auto test_constructor::b = Matrix::Zero(2, 1)
 
auto test_constructor::f10 = std::make_shared<JacobianFactor>(X(1), A1, X(2), A2, b)
 
auto test_constructor::f11 = std::make_shared<JacobianFactor>(X(1), A1, X(2), A2, b)
 

Detailed Description

Unit tests for HybridGaussianFactor.

Author
Varun Agrawal
Fan Jiang
Frank Dellaert
Date
December 2021

Definition in file testHybridGaussianFactor.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 169 of file testHybridGaussianFactor.cpp.

◆ TEST() [1/6]

TEST ( HybridGaussianFactor  ,
Constructor   
)

Definition at line 49 of file testHybridGaussianFactor.cpp.

◆ TEST() [2/6]

TEST ( HybridGaussianFactor  ,
ConstructorVariants   
)

Definition at line 71 of file testHybridGaussianFactor.cpp.

◆ TEST() [3/6]

TEST ( HybridGaussianFactor  ,
Error   
)

Definition at line 131 of file testHybridGaussianFactor.cpp.

◆ TEST() [4/6]

Definition at line 117 of file testHybridGaussianFactor.cpp.

◆ TEST() [5/6]

TEST ( HybridGaussianFactor  ,
Keys   
)

Definition at line 85 of file testHybridGaussianFactor.cpp.

◆ TEST() [6/6]

TEST ( HybridGaussianFactor  ,
Printing   
)

Definition at line 107 of file testHybridGaussianFactor.cpp.



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