|
SEXPR::SEXPR_TYPE | KI_TEST::getType (const SEXPR::SEXPR &aSexpr) |
| Get the type of the s-expression.
|
|
std::string | KI_TEST::getDebugType (SEXPR::SEXPR_TYPE aType) |
| Get a debug-friendly string for a given s-expr type.
|
|
std::string | KI_TEST::GetSexprDebugType (const SEXPR::SEXPR &aSexpr) |
|
bool | KI_TEST::IsSexprOfType (const SEXPR::SEXPR &aSexpr, SEXPR::SEXPR_TYPE aType) |
|
template<typename VAL_T > |
bool | KI_TEST::IsSexprValueEqual (const VAL_T &aGot, const VAL_T &aExpected) |
| Predicate to check two s-expr values (of the same type) are equal.
|
|
bool | KI_TEST::SexprIsSymbol (const SEXPR::SEXPR &aSexpr) |
| Test predicate: is the s-expression a symbol?
|
|
bool | KI_TEST::SexprIsSymbolWithValue (const SEXPR::SEXPR &aSexpr, const std::string &aVal) |
| Test predicate: is the s-expression a symbol with the given value?
|
|
bool | KI_TEST::SexprIsString (const SEXPR::SEXPR &aSexpr) |
| Test predicate: is the s-expression a string?
|
|
bool | KI_TEST::SexprIsStringWithValue (const SEXPR::SEXPR &aSexpr, const std::string &aVal) |
| Test predicate: is the s-expression a string with the given value?
|
|
bool | KI_TEST::SexprIsInteger (const SEXPR::SEXPR &aSexpr) |
| Test predicate: is the s-expression an integer?
|
|
bool | KI_TEST::SexprIsIntegerWithValue (const SEXPR::SEXPR &aSexpr, std::int64_t aVal) |
| Test predicate: is the s-expression an integer with the given value?
|
|
bool | KI_TEST::SexprIsDouble (const SEXPR::SEXPR &aSexpr) |
| Test predicate: is the s-expression a double?
|
|
bool | KI_TEST::SexprIsDoubleWithValue (const SEXPR::SEXPR &aSexpr, double aVal) |
| Test predicate: is the s-expression a double with the given value?
|
|
bool | KI_TEST::SexprIsList (const SEXPR::SEXPR &aSexpr) |
| Test predicate: is the s-expression a double?
|
|
bool | KI_TEST::SexprIsListOfLength (const SEXPR::SEXPR &aSexpr, size_t aExpectedLength) |
| Test predicate: is the s-expression a list with the given length?
|
|
bool | KI_TEST::SexprConvertsToString (const SEXPR::SEXPR &aSexpr, const std::string &aExpStr) |
| Predicate to check an SEXPR object converts to the expected string.
|
|
std::ostream & | SEXPR::boost_test_print_type (std::ostream &os, const SEXPR &aSexpr) |
| Boost print helper for SEXPR objects.
|
|