#include <unit_test.hpp>
|
| | UnitTests () |
| |
| void | check (bool l, std::string file, int line, std::string Lname) |
| |
| template<class L , class R , class Tol_t > |
| void | check_close (L l, R r, std::string file, int line, std::string Lname, std::string Rname, Tol_t tol) |
| |
| template<class L , class R > |
| void | check_equal (const L &l, const R &r, std::string file, int line, std::string Lname, std::string Rname) |
| |
| template<class T , class Tol_t > |
| void | check_small (T l, std::string file, int line, std::string Lname, Tol_t tol) |
| |
| void | error (std::string msg, std::string file, int line) |
| |
| void | register_test (std::string name, std::function< void()> cb) |
| |
| int | run_tests () |
| |
Definition at line 29 of file unit_test.hpp.
◆ UnitTests()
◆ check()
| void UnitTests::check |
( |
bool |
l, |
|
|
std::string |
file, |
|
|
int |
line, |
|
|
std::string |
Lname |
|
) |
| |
|
inline |
◆ check_close()
template<class L , class R , class Tol_t >
| void UnitTests::check_close |
( |
L |
l, |
|
|
R |
r, |
|
|
std::string |
file, |
|
|
int |
line, |
|
|
std::string |
Lname, |
|
|
std::string |
Rname, |
|
|
Tol_t |
tol |
|
) |
| |
|
inline |
◆ check_equal()
template<class L , class R >
| void UnitTests::check_equal |
( |
const L & |
l, |
|
|
const R & |
r, |
|
|
std::string |
file, |
|
|
int |
line, |
|
|
std::string |
Lname, |
|
|
std::string |
Rname |
|
) |
| |
|
inline |
◆ check_small()
template<class T , class Tol_t >
| void UnitTests::check_small |
( |
T |
l, |
|
|
std::string |
file, |
|
|
int |
line, |
|
|
std::string |
Lname, |
|
|
Tol_t |
tol |
|
) |
| |
|
inline |
◆ error()
| void UnitTests::error |
( |
std::string |
msg, |
|
|
std::string |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
◆ get()
◆ register_test()
| void UnitTests::register_test |
( |
std::string |
name, |
|
|
std::function< void()> |
cb |
|
) |
| |
|
inline |
◆ run_tests()
| int UnitTests::run_tests |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: