Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 3100) sorted by relevance

12345678910>>...124

/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.exception/propagation/
Dcurrent_exception.pass.cpp32 assert(p == nullptr); in main()
37 assert(A::constructed == 0); in main()
39 assert(false); in main()
43 assert(A::constructed == 1); in main()
45 assert(A::constructed == 0); in main()
47 assert(A::constructed == 0); in main()
52 assert(A::constructed == 0); in main()
54 assert(false); in main()
59 assert(A::constructed == 1); in main()
60 assert(p != nullptr); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.stdcvt/
Dcodecvt_utf8_out.pass.cpp39 assert(r == std::codecvt_base::ok); in main()
40 assert(wp == &w+1); in main()
41 assert(np == n+4); in main()
42 assert(n[0] == char(0xF1)); in main()
43 assert(n[1] == char(0x80)); in main()
44 assert(n[2] == char(0x80)); in main()
45 assert(n[3] == char(0x83)); in main()
49 assert(r == std::codecvt_base::ok); in main()
50 assert(wp == &w+1); in main()
51 assert(np == n+3); in main()
[all …]
Dcodecvt_utf16_out.pass.cpp39 assert(r == std::codecvt_base::ok); in main()
40 assert(wp == &w+1); in main()
41 assert(np == n+4); in main()
42 assert(n[0] == char(0xD8)); in main()
43 assert(n[1] == char(0xC0)); in main()
44 assert(n[2] == char(0xDC)); in main()
45 assert(n[3] == char(0x03)); in main()
49 assert(r == std::codecvt_base::ok); in main()
50 assert(wp == &w+1); in main()
51 assert(np == n+2); in main()
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp39 assert(r == std::codecvt_base::ok); in main()
40 assert(wp == w+2); in main()
41 assert(np == n+4); in main()
42 assert(n[0] == char(0xF1)); in main()
43 assert(n[1] == char(0x80)); in main()
44 assert(n[2] == char(0x80)); in main()
45 assert(n[3] == char(0x83)); in main()
49 assert(r == std::codecvt_base::ok); in main()
50 assert(wp == w+1); in main()
51 assert(np == n+3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/atomics/atomics.types.generic/
Dbool.pass.cpp60 assert(obj == true); in main()
62 assert(obj == false); in main()
64 assert(obj == true); in main()
67 assert(obj == false); in main()
69 assert(obj == true); in main()
70 assert(obj.load() == true); in main()
71 assert(obj.load(std::memory_order_acquire) == true); in main()
72 assert(obj.exchange(false) == true); in main()
73 assert(obj == false); in main()
74 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.ctype.byname/
Dis_many.pass.cpp35 assert(h == in.data() + in.size()); in main()
38 assert(!(m[0] & F::space)); in main()
39 assert( (m[0] & F::print)); in main()
40 assert(!(m[0] & F::cntrl)); in main()
41 assert( (m[0] & F::upper)); in main()
42 assert(!(m[0] & F::lower)); in main()
43 assert( (m[0] & F::alpha)); in main()
44 assert(!(m[0] & F::digit)); in main()
45 assert(!(m[0] & F::punct)); in main()
46 assert(!(m[0] & F::xdigit)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.modifying.operations/alg.rotate/
Drotate.pass.cpp31 assert(base(r) == ia); in test()
32 assert(ia[0] == 0); in test()
34 assert(base(r) == ia+sa); in test()
35 assert(ia[0] == 0); in test()
37 assert(base(r) == ia); in test()
38 assert(ia[0] == 0); in test()
43 assert(base(r) == ib+sb); in test()
44 assert(ib[0] == 0); in test()
45 assert(ib[1] == 1); in test()
47 assert(base(r) == ib+1); in test()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/
Dtree_remove.pass.cpp71 assert(std::__tree_invariant(root.__left_)); in test1()
73 assert(root.__parent_ == 0); in test1()
74 assert(root.__left_ == &d); in test1()
75 assert(root.__right_ == 0); in test1()
76 assert(root.__is_black_ == false); in test1()
78 assert(d.__parent_ == &root); in test1()
79 assert(d.__left_ == &b); in test1()
80 assert(d.__right_ == &e); in test1()
81 assert(d.__is_black_ == true); in test1()
83 assert(b.__parent_ == &d); in test1()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/template.indirect.array/indirect.array.fill/
Dassign_value.pass.cpp32 assert(v1.size() == 41); in main()
33 assert(v1[ 0] == 0); in main()
34 assert(v1[ 1] == 1); in main()
35 assert(v1[ 2] == 2); in main()
36 assert(v1[ 3] == 51); in main()
37 assert(v1[ 4] == 51); in main()
38 assert(v1[ 5] == 51); in main()
39 assert(v1[ 6] == 6); in main()
40 assert(v1[ 7] == 51); in main()
41 assert(v1[ 8] == 51); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.match/
Decma.pass.cpp29 assert(std::regex_match(s, m, std::regex("a"))); in main()
30 assert(m.size() == 1); in main()
31 assert(!m.empty()); in main()
32 assert(!m.prefix().matched); in main()
33 assert(m.prefix().first == s); in main()
34 assert(m.prefix().second == m[0].first); in main()
35 assert(!m.suffix().matched); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
38 assert(m.length(0) == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/diagnostics/syserr/syserr.compare/
Deq_error_code_error_code.pass.cpp35 assert(e_code1 == e_code1); in main()
36 assert(e_code1 != e_code2); in main()
37 assert(e_code1 != e_code3); in main()
38 assert(e_code1 != e_code4); in main()
39 assert(e_code1 == e_condition1); in main()
40 assert(e_code1 != e_condition2); in main()
41 assert(e_code1 != e_condition3); in main()
42 assert(e_code1 != e_condition4); in main()
44 assert(e_code2 != e_code1); in main()
45 assert(e_code2 == e_code2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.search/
Dbasic.pass.cpp28 assert(!std::regex_search("a", m, std::regex())); in main()
29 assert(m.size() == 0); in main()
30 assert(m.empty()); in main()
35 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/template.gslice.array/gslice.array.fill/
Dassign_value.pass.cpp32 assert(v1.size() == 41); in main()
33 assert(v1[ 0] == 0); in main()
34 assert(v1[ 1] == 1); in main()
35 assert(v1[ 2] == 2); in main()
36 assert(v1[ 3] == 51); in main()
37 assert(v1[ 4] == 51); in main()
38 assert(v1[ 5] == 51); in main()
39 assert(v1[ 6] == 6); in main()
40 assert(v1[ 7] == 51); in main()
41 assert(v1[ 8] == 51); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/template.indirect.array/indirect.array.comp.assign/
Dmodulo.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == 0); in main()
41 assert(v1[ 5] == 2); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 3); in main()
44 assert(v1[ 8] == 3); in main()
[all …]
Dsubtraction.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 2); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 2); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 3); in main()
44 assert(v1[ 8] == 3); in main()
[all …]
Ddivide.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 1); in main()
44 assert(v1[ 8] == 1); in main()
[all …]
Dshift_left.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 6); in main()
40 assert(v1[ 4] == 16); in main()
41 assert(v1[ 5] == 40); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 112); in main()
44 assert(v1[ 8] == 256); in main()
[all …]
Dmultiply.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 8); in main()
41 assert(v1[ 5] == 15); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 28); in main()
44 assert(v1[ 8] == 40); in main()
[all …]
Daddition.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 3); in main()
41 assert(v1[ 5] == 3); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 4); in main()
44 assert(v1[ 8] == 4); in main()
[all …]
Dxor.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 2); in main()
40 assert(v1[ 4] == 6); in main()
41 assert(v1[ 5] == 6); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 3); in main()
44 assert(v1[ 8] == 13); in main()
[all …]
Dshift_right.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 1); in main()
41 assert(v1[ 5] == 0); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 0); in main()
44 assert(v1[ 8] == 0); in main()
[all …]
Dand.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 0); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 4); in main()
44 assert(v1[ 8] == 0); in main()
[all …]
Dor.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 6); in main()
41 assert(v1[ 5] == 7); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == 7); in main()
44 assert(v1[ 8] == 13); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/template.indirect.array/indirect.array.assign/
Dindirect_array.pass.cpp38 assert(v1.size() == 41); in main()
39 assert(v1[ 0] == 0); in main()
40 assert(v1[ 1] == 1); in main()
41 assert(v1[ 2] == 2); in main()
42 assert(v1[ 3] == -3); in main()
43 assert(v1[ 4] == -4); in main()
44 assert(v1[ 5] == -5); in main()
45 assert(v1[ 6] == 6); in main()
46 assert(v1[ 7] == -7); in main()
47 assert(v1[ 8] == -8); in main()
[all …]
Dvalarray.pass.cpp35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == -1); in main()
41 assert(v1[ 5] == -2); in main()
42 assert(v1[ 6] == 6); in main()
43 assert(v1[ 7] == -3); in main()
44 assert(v1[ 8] == -4); in main()
[all …]

12345678910>>...124