Functions | Variables
testKey.cpp File Reference
#include <gtsam/inference/Key.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
#include <sstream>
Include dependency graph for testKey.cpp:

Go to the source code of this file.

Functions

string keyMyFormatter (Key key)
 
template<int KeySize>
Key KeyTestValue ()
 
template<>
Key KeyTestValue< 4 > ()
 
template<>
Key KeyTestValue< 8 > ()
 
int main ()
 
 TEST (Key, KeySymbolConversion)
 
 TEST (Key, SymbolGenerator)
 
 TEST (Key, SymbolGeneratorConstexpr)
 
 TEST (Key, KeySymbolEncoding)
 
 TEST (Key, ChrTest)
 
 TEST (Key, Formatting)
 

Variables

Key aKey = gtsam::symbol_shorthand::X(4)
 

Function Documentation

◆ keyMyFormatter()

string keyMyFormatter ( Key  key)

Definition at line 101 of file testKey.cpp.

◆ KeyTestValue()

template<int KeySize>
Key KeyTestValue ( )

◆ KeyTestValue< 4 >()

template<>
Key KeyTestValue< 4 > ( )

Definition at line 75 of file testKey.cpp.

◆ KeyTestValue< 8 >()

template<>
Key KeyTestValue< 8 > ( )

Definition at line 70 of file testKey.cpp.

◆ main()

int main ( void  )

Definition at line 126 of file testKey.cpp.

◆ TEST() [1/6]

TEST ( Key  ,
KeySymbolConversion   
)

Definition at line 32 of file testKey.cpp.

◆ TEST() [2/6]

TEST ( Key  ,
SymbolGenerator   
)

Definition at line 41 of file testKey.cpp.

◆ TEST() [3/6]

TEST ( Key  ,
SymbolGeneratorConstexpr   
)

Definition at line 60 of file testKey.cpp.

◆ TEST() [4/6]

TEST ( Key  ,
KeySymbolEncoding   
)

Definition at line 80 of file testKey.cpp.

◆ TEST() [5/6]

TEST ( Key  ,
ChrTest   
)

Definition at line 93 of file testKey.cpp.

◆ TEST() [6/6]

TEST ( Key  ,
Formatting   
)

Definition at line 105 of file testKey.cpp.

Variable Documentation

◆ aKey

Definition at line 29 of file testKey.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55