26 #include <boost/assign/list_of.hpp> 31 using namespace gtsam;
45 SymbolicJunctionTree::Node::Keys
46 frontal1 = list_of(2)(3),
47 frontal2 = list_of(0)(1),
48 sep1, sep2 = list_of(2);
54 LONGS_EQUAL(2, (
long)actual.
roots().front()->children.front()->factors.size());
Provides additional testing facilities for common data structures.
static int runAllTests(TestResult &result)
bool assert_container_equality(const std::map< size_t, V2 > &expected, const std::map< size_t, V2 > &actual)
#define EXPECT(condition)
#define LONGS_EQUAL(expected, actual)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
TEST(JunctionTree, constructor)
const FastVector< sharedNode > & roots() const