Euphoria
|
Namespaces | |
custom | |
Classes | |
struct | ApproxData |
struct | FalseString |
represents a error (false) or empty string (true) More... | |
Functions | |
template<> | |
bool | is_approximately_equal (float const &lhs, float const &rhs, const ApproxData &data) |
template<typename T > | |
bool | is_approximately_equal (const T &lhs, const T &rhs, const ApproxData &data) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &stream, const custom::Approx< T > &v) |
template<typename T > | |
custom::Approx< T > | approx (T const &t) |
template<typename T > | |
bool | is_approximately_equal_xyz (T const &lhs, T const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (vec3f const &lhs, vec3f const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (vec4f const &lhs, vec4f const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (Rgb const &lhs, Rgb const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (Hsl const &lhs, Hsl const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (unit3f const &lhs, unit3f const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (Rgba const &lhs, Rgba const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (quatf const &lhs, quatf const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (AxisAngle const &lhs, AxisAngle const &rhs, const ApproxData &data) |
template<> | |
bool | is_approximately_equal (mat4f const &lhs, mat4f const &rhs, const ApproxData &data) |
std::ostream & | operator<< (std::ostream &s, const FalseString &f) |
FalseString | is_string_equal (const std::string &lhs, const std::string &rhs) |
FalseString | is_string_equal (const std::vector< std::string > &lhs, const std::vector< std::string > &rhs) |
template<typename T , typename TToString , typename TCompare > | |
FalseString | is_vector_equal (const std::vector< T > &lhs, const std::vector< T > &rhs, TToString to_string_functor, TCompare compare_functor) |
template<typename T , typename TConverter > | |
std::string | from_vector_to_string_impl (const std::vector< T > &v, bool one_line, TConverter converter) |
template<typename T , typename TConverter > | |
std::pair< std::string, bool > | from_vector_to_string_ex (const std::vector< T > &v, TConverter converter) |
template<typename T , typename TConverter > | |
std::string | from_vector_to_string (const std::vector< T > &v, TConverter converter) |
Function Documentation
◆ approx()
custom::Approx<T> eu::tests::approx | ( | T const & | t | ) |
◆ from_vector_to_string()
std::string eu::tests::from_vector_to_string | ( | const std::vector< T > & | v, |
TConverter | converter | ||
) |
Definition at line 72 of file vectortostring.h.
◆ from_vector_to_string_ex()
std::pair<std::string, bool> eu::tests::from_vector_to_string_ex | ( | const std::vector< T > & | v, |
TConverter | converter | ||
) |
Definition at line 49 of file vectortostring.h.
◆ from_vector_to_string_impl()
std::string eu::tests::from_vector_to_string_impl | ( | const std::vector< T > & | v, |
bool | one_line, | ||
TConverter | converter | ||
) |
Definition at line 14 of file vectortostring.h.
◆ is_approximately_equal() [1/11]
bool eu::tests::is_approximately_equal | ( | AxisAngle const & | lhs, |
AxisAngle const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 98 of file approx_equal.cc.
◆ is_approximately_equal() [2/11]
bool eu::tests::is_approximately_equal | ( | const T & | lhs, |
const T & | rhs, | ||
const ApproxData & | data | ||
) |
◆ is_approximately_equal() [3/11]
bool eu::tests::is_approximately_equal | ( | float const & | lhs, |
float const & | rhs, | ||
const ApproxData & | data | ||
) |
◆ is_approximately_equal() [4/11]
bool eu::tests::is_approximately_equal | ( | Hsl const & | lhs, |
Hsl const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 52 of file approx_equal.cc.
◆ is_approximately_equal() [5/11]
bool eu::tests::is_approximately_equal | ( | mat4f const & | lhs, |
mat4f const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 126 of file approx_equal.cc.
◆ is_approximately_equal() [6/11]
bool eu::tests::is_approximately_equal | ( | quatf const & | lhs, |
quatf const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 88 of file approx_equal.cc.
◆ is_approximately_equal() [7/11]
bool eu::tests::is_approximately_equal | ( | Rgb const & | lhs, |
Rgb const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 40 of file approx_equal.cc.
◆ is_approximately_equal() [8/11]
bool eu::tests::is_approximately_equal | ( | Rgba const & | lhs, |
Rgba const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 74 of file approx_equal.cc.
◆ is_approximately_equal() [9/11]
bool eu::tests::is_approximately_equal | ( | unit3f const & | lhs, |
unit3f const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 64 of file approx_equal.cc.
◆ is_approximately_equal() [10/11]
bool eu::tests::is_approximately_equal | ( | vec3f const & | lhs, |
vec3f const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 16 of file approx_equal.cc.
◆ is_approximately_equal() [11/11]
bool eu::tests::is_approximately_equal | ( | vec4f const & | lhs, |
vec4f const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 26 of file approx_equal.cc.
◆ is_approximately_equal_xyz()
bool eu::tests::is_approximately_equal_xyz | ( | T const & | lhs, |
T const & | rhs, | ||
const ApproxData & | data | ||
) |
Definition at line 7 of file approx_equal.cc.
◆ is_string_equal() [1/2]
FalseString eu::tests::is_string_equal | ( | const std::string & | lhs, |
const std::string & | rhs | ||
) |
Definition at line 24 of file stringeq.cc.
◆ is_string_equal() [2/2]
FalseString eu::tests::is_string_equal | ( | const std::vector< std::string > & | lhs, |
const std::vector< std::string > & | rhs | ||
) |
Definition at line 51 of file stringeq.cc.
◆ is_vector_equal()
FalseString eu::tests::is_vector_equal | ( | const std::vector< T > & | lhs, |
const std::vector< T > & | rhs, | ||
TToString | to_string_functor, | ||
TCompare | compare_functor | ||
) |
Definition at line 23 of file vectorequals.h.
◆ operator<<() [1/2]
std::ostream & eu::tests::operator<< | ( | std::ostream & | s, |
const FalseString & | f | ||
) |
Definition at line 25 of file falsestring.cc.
◆ operator<<() [2/2]
std::ostream& eu::tests::operator<< | ( | std::ostream & | stream, |
const custom::Approx< T > & | v | ||
) |