HomeSort by relevance Sort by last modified time
    Searched refs:assert (Results 176 - 200 of 16208) sorted by null

1 2 3 4 5 6 78 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/
pcount.pass.cpp 23 assert(sb.pcount() == 0);
24 assert(sb.sputc('a') == 'a');
25 assert(sb.pcount() == 1);
26 assert(sb.sputc(0) == 0);
27 assert(sb.pcount() == 2);
28 assert(sb.str() == std::string("a"));
29 assert(sb.pcount() == 2);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/
stol.pass.cpp 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)
    [all...]
stoll.pass.cpp 23 assert(std::stoll("0") == 0);
24 assert(std::stoll(L"0") == 0);
25 assert(std::stoll("-0") == 0);
26 assert(std::stoll(L"-0") == 0);
27 assert(std::stoll("-10") == -10);
28 assert(std::stoll(L"-10") == -10);
29 assert(std::stoll(" 10") == 10);
30 assert(std::stoll(L" 10") == 10);
32 assert(std::stoll("10g", &idx, 16) == 16);
33 assert(idx == 2)
    [all...]
  /external/libcxx/test/std/localization/locales/locale/locale.operators/
eq.pass.cpp 29 assert(cloc == cloc);
30 assert(cloc == copy);
31 assert(cloc != n1);
32 assert(cloc != n2);
33 assert(cloc != noname1);
34 assert(cloc != nonamec);
35 assert(cloc != noname2);
37 assert(copy == cloc);
38 assert(copy == copy);
39 assert(copy != n1)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.operators/
eq.pass.cpp 29 assert(cloc == cloc);
30 assert(cloc == copy);
31 assert(cloc != n1);
32 assert(cloc != n2);
33 assert(cloc != noname1);
34 assert(cloc != nonamec);
35 assert(cloc != noname2);
37 assert(copy == cloc);
38 assert(copy == copy);
39 assert(copy != n1)
    [all...]
  /external/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
push.pass.cpp 21 assert(q.size() == 1);
22 assert(q.front() == 1);
23 assert(q.back() == 1);
25 assert(q.size() == 2);
26 assert(q.front() == 1);
27 assert(q.back() == 2);
29 assert(q.size() == 3);
30 assert(q.front() == 1);
31 assert(q.back() == 3);
  /external/libcxx/test/std/re/re.regex/re.regex.construct/
bad_escape.pass.cpp 33 assert(error_escape_thrown("[\\a]"));
34 assert(error_escape_thrown("\\a"));
36 assert(error_escape_thrown("[\\e]"));
37 assert(error_escape_thrown("\\e"));
39 assert(error_escape_thrown("[\\c:]"));
40 assert(error_escape_thrown("\\c:"));
41 assert(error_escape_thrown("\\c"));
42 assert(!error_escape_thrown("[\\cA]"));
43 assert(!error_escape_thrown("\\cA"));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.defn/
push.pass.cpp 21 assert(q.size() == 1);
22 assert(q.front() == 1);
23 assert(q.back() == 1);
25 assert(q.size() == 2);
26 assert(q.front() == 1);
27 assert(q.back() == 2);
29 assert(q.size() == 3);
30 assert(q.front() == 1);
31 assert(q.back() == 3);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/
bad_escape.pass.cpp 33 assert(error_escape_thrown("[\\a]"));
34 assert(error_escape_thrown("\\a"));
36 assert(error_escape_thrown("[\\e]"));
37 assert(error_escape_thrown("\\e"));
39 assert(error_escape_thrown("[\\c:]"));
40 assert(error_escape_thrown("\\c:"));
41 assert(error_escape_thrown("\\c"));
42 assert(!error_escape_thrown("[\\cA]"));
43 assert(!error_escape_thrown("\\cA"));
  /external/libcxx/test/std/containers/associative/set/
erase_key.pass.cpp 39 assert(m.size() == 8);
41 assert(m.size() == 8);
42 assert(i == 0);
43 assert(*next(m.begin(), 0) == 1);
44 assert(*next(m.begin(), 1) == 2);
45 assert(*next(m.begin(), 2) == 3);
46 assert(*next(m.begin(), 3) == 4);
47 assert(*next(m.begin(), 4) == 5);
48 assert(*next(m.begin(), 5) == 6);
49 assert(*next(m.begin(), 6) == 7)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
erase_key.pass.cpp 39 assert(m.size() == 8);
41 assert(m.size() == 8);
42 assert(i == 0);
43 assert(*next(m.begin(), 0) == 1);
44 assert(*next(m.begin(), 1) == 2);
45 assert(*next(m.begin(), 2) == 3);
46 assert(*next(m.begin(), 3) == 4);
47 assert(*next(m.begin(), 4) == 5);
48 assert(*next(m.begin(), 5) == 6);
49 assert(*next(m.begin(), 6) == 7)
    [all...]
  /external/libcxx/test/std/containers/sequences/deque/deque.cons/
initializer_list_alloc.pass.cpp 25 assert(d.get_allocator() == test_allocator<int>(3));
26 assert(d.size() == 4);
27 assert(d[0] == 3);
28 assert(d[1] == 4);
29 assert(d[2] == 5);
30 assert(d[3] == 6);
35 assert(d.get_allocator() == min_allocator<int>());
36 assert(d.size() == 4);
37 assert(d[0] == 3);
38 assert(d[1] == 4)
    [all...]
  /external/libcxx/test/std/containers/sequences/vector/vector.cons/
op_equal_initializer_list.pass.cpp 26 assert(d.size() == 4);
27 assert(is_contiguous_container_asan_correct(d));
28 assert(d[0] == 3);
29 assert(d[1] == 4);
30 assert(d[2] == 5);
31 assert(d[3] == 6);
37 assert(d.size() == 4);
38 assert(is_contiguous_container_asan_correct(d));
39 assert(d[0] == 3);
40 assert(d[1] == 4)
    [all...]
  /external/libcxx/test/std/containers/sequences/vector.bool/
initializer_list_alloc.pass.cpp 25 assert(d.get_allocator() == test_allocator<bool>(3));
26 assert(d.size() == 4);
27 assert(d[0] == true);
28 assert(d[1] == false);
29 assert(d[2] == false);
30 assert(d[3] == true);
35 assert(d.get_allocator() == min_allocator<bool>());
36 assert(d.size() == 4);
37 assert(d[0] == true);
38 assert(d[1] == false)
    [all...]
  /external/libcxx/test/std/extensions/hash/
specializations.pass.cpp 12 #include <assert.h>
19 assert(__gnu_cxx::hash<const char *>()("test") ==
21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
22 assert(__gnu_cxx::hash<char>()(42) == 42);
23 assert(__gnu_cxx::hash<signed char>()(42) == 42);
24 assert(__gnu_cxx::hash<unsigned char>()(42) == 42);
25 assert(__gnu_cxx::hash<short>()(42) == 42);
26 assert(__gnu_cxx::hash<unsigned short>()(42) == 42);
27 assert(__gnu_cxx::hash<int>()(42) == 42);
28 assert(__gnu_cxx::hash<unsigned int>()(42) == 42)
    [all...]
  /external/libcxx/test/std/strings/string.conversions/
stod.pass.cpp 21 assert(std::stod("0") == 0);
22 assert(std::stod(L"0") == 0);
23 assert(std::stod("-0") == 0);
24 assert(std::stod(L"-0") == 0);
25 assert(std::stod("-10") == -10);
26 assert(std::stod(L"-10.5") == -10.5);
27 assert(std::stod(" 10") == 10);
28 assert(std::stod(L" 10") == 10);
30 assert(std::stod("10g", &idx) == 10);
31 assert(idx == 2)
    [all...]
stof.pass.cpp 24 assert(std::stof("0") == 0);
25 assert(std::stof(L"0") == 0);
26 assert(std::stof("-0") == 0);
27 assert(std::stof(L"-0") == 0);
28 assert(std::stof("-10") == -10);
29 assert(std::stof(L"-10.5") == -10.5);
30 assert(std::stof(" 10") == 10);
31 assert(std::stof(L" 10") == 10);
33 assert(std::stof("10g", &idx) == 10);
34 assert(idx == 2)
    [all...]
stold.pass.cpp 23 assert(std::stold("0") == 0);
24 assert(std::stold(L"0") == 0);
25 assert(std::stold("-0") == 0);
26 assert(std::stold(L"-0") == 0);
27 assert(std::stold("-10") == -10);
28 assert(std::stold(L"-10.5") == -10.5);
29 assert(std::stold(" 10") == 10);
30 assert(std::stold(L" 10") == 10);
32 assert(std::stold("10g", &idx) == 10);
33 assert(idx == 2)
    [all...]
  /external/libcxx/test/std/utilities/type.index/type.index.members/
lt.pass.cpp 27 assert(!(t1 < t2));
28 assert( (t1 <= t2));
29 assert(!(t1 > t2));
30 assert( (t1 >= t2));
33 assert( (t1 < t3));
34 assert( (t1 <= t3));
35 assert(!(t1 > t3));
36 assert(!(t1 >= t3));
40 assert(!(t1 < t3));
41 assert(!(t1 <= t3))
    [all...]
  /ndk/sources/cxx-stl/gabi++/tests/
unexpected_01.cpp 12 assert(false);
14 assert(true);
16 assert(false);
unexpected_03.cpp 13 assert(false);
15 assert(false);
17 assert(false);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
initializer_list_alloc.pass.cpp 25 assert(d.get_allocator() == test_allocator<int>(3));
26 assert(d.size() == 4);
27 assert(d[0] == 3);
28 assert(d[1] == 4);
29 assert(d[2] == 5);
30 assert(d[3] == 6);
35 assert(d.get_allocator() == min_allocator<int>());
36 assert(d.size() == 4);
37 assert(d[0] == 3);
38 assert(d[1] == 4)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/
assign_initializer_list.pass.cpp 26 assert(d.size() == 4);
27 assert(is_contiguous_container_asan_correct(d));
28 assert(d[0] == 3);
29 assert(d[1] == 4);
30 assert(d[2] == 5);
31 assert(d[3] == 6);
37 assert(d.size() == 4);
38 assert(is_contiguous_container_asan_correct(d));
39 assert(d[0] == 3);
40 assert(d[1] == 4)
    [all...]
op_equal_initializer_list.pass.cpp 26 assert(d.size() == 4);
27 assert(is_contiguous_container_asan_correct(d));
28 assert(d[0] == 3);
29 assert(d[1] == 4);
30 assert(d[2] == 5);
31 assert(d[3] == 6);
37 assert(d.size() == 4);
38 assert(is_contiguous_container_asan_correct(d));
39 assert(d[0] == 3);
40 assert(d[1] == 4)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
initializer_list_alloc.pass.cpp 25 assert(d.get_allocator() == test_allocator<bool>(3));
26 assert(d.size() == 4);
27 assert(d[0] == true);
28 assert(d[1] == false);
29 assert(d[2] == false);
30 assert(d[3] == true);
35 assert(d.get_allocator() == min_allocator<bool>());
36 assert(d.size() == 4);
37 assert(d[0] == true);
38 assert(d[1] == false)
    [all...]

Completed in 717 milliseconds

1 2 3 4 5 6 78 91011>>