rippled
|
Public Member Functions | |
template<class IntType > | |
void | testInteger (IntType in) |
template<class IntType > | |
void | testIntegers (xor_shift_engine &r) |
void | testPathologies () |
template<class T > | |
void | tryBadConvert (std::string const &s) |
void | testConversionOverflows () |
void | testConversionUnderflows () |
template<class T > | |
bool | tryEdgeCase (std::string const &s) |
void | testEdgeCases () |
template<class T > | |
void | testThrowConvert (std::string const &s, bool success) |
void | testThrowingConversions () |
void | testZero () |
void | testEntireRange () |
void | run () override |
Static Public Member Functions | |
template<class IntType > | |
static IntType | nextRandomInt (xor_shift_engine &r) |
Definition at line 26 of file LexicalCast_test.cpp.
|
static |
Definition at line 31 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testInteger | ( | IntType | in | ) |
Definition at line 38 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testIntegers | ( | xor_shift_engine & | r | ) |
Definition at line 50 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testPathologies | ( | ) |
Definition at line 75 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::tryBadConvert | ( | std::string const & | s | ) |
Definition at line 90 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testConversionOverflows | ( | ) |
Definition at line 97 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testConversionUnderflows | ( | ) |
Definition at line 107 of file LexicalCast_test.cpp.
bool beast::LexicalCast_test::tryEdgeCase | ( | std::string const & | s | ) |
Definition at line 120 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testEdgeCases | ( | ) |
Definition at line 133 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testThrowConvert | ( | std::string const & | s, |
bool | success | ||
) |
Definition at line 176 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testThrowingConversions | ( | ) |
Definition at line 195 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testZero | ( | ) |
Definition at line 215 of file LexicalCast_test.cpp.
void beast::LexicalCast_test::testEntireRange | ( | ) |
Definition at line 237 of file LexicalCast_test.cpp.
|
override |
Definition at line 267 of file LexicalCast_test.cpp.