Unit tests for HybridNonlinearFactor. More...
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/discrete/DiscreteValues.h>
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridGaussianFactorGraph.h>
#include <gtsam/hybrid/HybridNonlinearFactor.h>
#include <gtsam/hybrid/HybridNonlinearFactorGraph.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/slam/BetweenFactor.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Namespaces | |
test_constructor | |
Functions | |
static HybridNonlinearFactor | getHybridNonlinearFactor () |
DiscreteKey | test_constructor::m1 (1, 2) |
int | main () |
TEST (HybridGaussianFactor, ConstructorVariants) | |
TEST (HybridNonlinearFactor, Constructor) | |
TEST (HybridNonlinearFactor, Dim) | |
TEST (HybridNonlinearFactor, Error) | |
TEST (HybridNonlinearFactor, Printing) | |
Variables | |
double | test_constructor::between0 = 0.0 |
double | test_constructor::between1 = 1.0 |
auto | test_constructor::f0 = std::make_shared<BetweenFactor<double>>(X(1), X(2), between0, model) |
auto | test_constructor::f1 = std::make_shared<BetweenFactor<double>>(X(1), X(2), between1, model) |
auto | test_constructor::model = noiseModel::Diagonal::Sigmas(sigmas, false) |
Vector1 | test_constructor::sigmas = Vector1(1.0) |
Unit tests for HybridNonlinearFactor.
Definition in file testHybridNonlinearFactor.cpp.
|
static |
Definition at line 86 of file testHybridNonlinearFactor.cpp.
int main | ( | ) |
Definition at line 130 of file testHybridNonlinearFactor.cpp.
TEST | ( | HybridGaussianFactor | , |
ConstructorVariants | |||
) |
Definition at line 61 of file testHybridNonlinearFactor.cpp.
TEST | ( | HybridNonlinearFactor | , |
Constructor | |||
) |
Definition at line 39 of file testHybridNonlinearFactor.cpp.
TEST | ( | HybridNonlinearFactor | , |
Dim | |||
) |
Definition at line 124 of file testHybridNonlinearFactor.cpp.
TEST | ( | HybridNonlinearFactor | , |
Error | |||
) |
Definition at line 104 of file testHybridNonlinearFactor.cpp.
TEST | ( | HybridNonlinearFactor | , |
Printing | |||
) |
Definition at line 76 of file testHybridNonlinearFactor.cpp.