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>
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) |
Unit tests for HybridGaussianFactor.
Definition in file testHybridGaussianFactor.cpp.
int main | ( | ) |
Definition at line 169 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
Constructor | |||
) |
Definition at line 49 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
ConstructorVariants | |||
) |
Definition at line 71 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
Error | |||
) |
Definition at line 131 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
HybridGaussianConditional | |||
) |
Definition at line 117 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
Keys | |||
) |
Definition at line 85 of file testHybridGaussianFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
Printing | |||
) |
Definition at line 107 of file testHybridGaussianFactor.cpp.