Provides additional testing facilities for common data structures. More...
#include <gtsam/base/Testable.h>
#include <gtsam/global_includes.h>
#include <boost/optional.hpp>
#include <map>
#include <iostream>
#include <sstream>
#include <vector>
Go to the source code of this file.
Namespaces | |
gtsam | |
traits | |
Functions | |
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 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::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 boost::optional< V > &expected, const boost::optional< V > &actual, double tol=1e-9) |
template<class V > | |
bool | gtsam::assert_equal (const V &expected, const boost::optional< V > &actual, double tol=1e-9) |
template<class V > | |
bool | gtsam::assert_equal (const V &expected, const boost::optional< const V & > &actual, double tol=1e-9) |
template<class V > | |
bool | gtsam::assert_equal (const std::vector< V > &expected, const std::vector< V > &actual, double tol=1e-9) |
bool | gtsam::assert_equal (const std::string &expected, const std::string &actual) |
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) |
Provides additional testing facilities for common data structures.
Definition in file TestableAssertions.h.