Namespaces | Functions
TestableAssertions.h File Reference

Provides additional testing facilities for common data structures. More...

#include <gtsam/base/Testable.h>
#include <gtsam/global_includes.h>
#include <functional>
#include <optional>
#include <map>
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for TestableAssertions.h:

Go to the source code of this file.

Namespaces

 gtsam
 traits
 

Functions

template<class V2 >
bool gtsam::assert_container_equal (const std::map< size_t, V2 > &expected, const std::map< size_t, V2 > &actual, double tol=1e-9)
 
template<class V1 , class V2 >
bool gtsam::assert_container_equal (const std::map< V1, V2 > &expected, const std::map< V1, V2 > &actual, double tol=1e-9)
 
template<class V1 , class V2 >
bool gtsam::assert_container_equal (const std::vector< std::pair< V1, V2 > > &expected, const std::vector< std::pair< V1, V2 > > &actual, double tol=1e-9)
 
template<class V >
bool gtsam::assert_container_equal (const V &expected, const V &actual, double tol=1e-9)
 
template<class V2 >
bool gtsam::assert_container_equality (const std::map< size_t, V2 > &expected, const std::map< size_t, V2 > &actual)
 
template<class V >
bool gtsam::assert_container_equality (const V &expected, const V &actual)
 
bool gtsam::assert_equal (const Key &expected, const Key &actual, double tol=0.0)
 
template<class V >
bool gtsam::assert_equal (const std::optional< V > &expected, const std::optional< V > &actual, double tol=1e-9)
 
bool gtsam::assert_equal (const std::string &expected, const std::string &actual)
 
template<class V >
bool gtsam::assert_equal (const V &expected, const std::optional< std::reference_wrapper< const V >> &actual, double tol=1e-9)
 
template<class V >
bool gtsam::assert_equal (const V &expected, const std::optional< V > &actual, double tol=1e-9)
 
template<class V >
bool gtsam::assert_inequal (const V &expected, const V &actual, double tol=1e-9)
 
template<class V >
bool gtsam::assert_print_equal (const std::string &expected, const V &actual, const std::string &s="")
 
template<class V >
bool gtsam::assert_stdout_equal (const std::string &expected, const V &actual)
 

Detailed Description

Provides additional testing facilities for common data structures.

Author
Alex Cunningham

Definition in file TestableAssertions.h.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:24