14 bool sanity_test_widen(
char testchar)
16 const std::ctype<char>&
test(std::use_facet<std::ctype<char> >(std::locale()));
17 return test.narrow(
test.widen(testchar),
'b') == testchar;
24 bool sanity_test_list(
unsigned int size)
26 std::list<unsigned int>
test;
27 for (
unsigned int i = 0; i !=
size; ++i)
28 test.push_back(i + 1);
30 if (test.size() !=
size)
33 while (!test.empty()) {
34 if (test.back() != test.size())
51 }
catch (
const std::out_of_range&) {
bool sanity_test_range_fmt()
bool glibcxx_sanity_test()
uint8_t const size_t const size