release/4.3a0
Varun Agrawal 2025-03-13 12:15:48 -04:00
parent 41b42ff6ef
commit c0da727a14
1 changed files with 8 additions and 2 deletions

View File

@ -81,8 +81,14 @@ TEST(HybridNonlinearFactor, Printing) {
R"(Hybrid [x1 x2; 1] R"(Hybrid [x1 x2; 1]
HybridNonlinearFactor HybridNonlinearFactor
Choice(1) Choice(1)
0 Leaf Nonlinear factor on 2 keys 0 Leaf BetweenFactor(x1,x2)
1 Leaf Nonlinear factor on 2 keys measured: 0
noise model: diagonal sigmas [1];
1 Leaf BetweenFactor(x1,x2)
measured: 1
noise model: diagonal sigmas [1];
)"; )";
EXPECT(assert_print_equal(expected, hybridFactor)); EXPECT(assert_print_equal(expected, hybridFactor));
} }