Go to the documentation of this file.
27 using namespace gtsam;
51 const auto dz1 = DZ(1);
52 const auto ddz1 = DDZ(1);
71 return 0x6100000000000005;
84 Key key = KeyTestValue<sizeof(Key)>();
117 EXPECT(
"special" == ss2.str());
122 EXPECT(
"c3" == ss3.str());
static int runAllTests(TestResult &result)
#define EXPECT_LONGS_EQUAL(expected, actual)
Concept check for values that can be used in unit tests.
#define EXPECT(condition)
string keyMyFormatter(Key key)
TEST(Key, KeySymbolConversion)
Provides additional testing facilities for common data structures.
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
static std::stringstream ss
Key symbol(unsigned char c, std::uint64_t j)
const gtsam::Symbol key('X', 0)
To use the key_formatter on Keys, they must be wrapped in a StreamedKey.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
std::uint64_t Key
Integer nonlinear key type.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:16:37