Home | History | Annotate | Download | only in string.conversions

Lines Matching refs:assert

23     assert(std::stol("0") == 0);
24 assert(std::stol(L"0") == 0);
25 assert(std::stol("-0") == 0);
26 assert(std::stol(L"-0") == 0);
27 assert(std::stol("-10") == -10);
28 assert(std::stol(L"-10") == -10);
29 assert(std::stol(" 10") == 10);
30 assert(std::stol(L" 10") == 10);
32 assert(std::stol("10g", &idx, 16) == 16);
33 assert(idx == 2);
35 assert(std::stol(L"10g", &idx, 16) == 16);
36 assert(idx == 2);
41 assert(false);
45 assert(idx == 0);
50 assert(false);
54 assert(idx == 0);
59 assert(false);
63 assert(idx == 0);
68 assert(false);
72 assert(idx == 0);
77 assert(false);
81 assert(idx == 0);
86 assert(false);
90 assert(idx == 0);
96 assert(false);
100 assert(idx == 0);
105 assert(false);
109 assert(idx == 0);