15 bool sanity_test_widen(
char testchar)
17 const std::ctype<char>& test(std::use_facet<std::ctype<char> >(std::locale()));
18 return test.narrow(test.widen(testchar),
'b') == testchar;
25 bool sanity_test_list(
unsigned int size)
27 std::list<unsigned int> test;
28 for (
unsigned int i = 0; i != size; ++i)
29 test.push_back(i + 1);
31 if (test.size() != size)
34 while (!test.empty()) {
35 if (test.back() != test.size())
52 }
catch (
const std::out_of_range&) {
bool sanity_test_range_fmt()
bool glibcxx_sanity_test()