Home
last modified time | relevance | path

Searched refs:set_equal (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/libcxx/test/std/containers/associative/set/
Dmerge.pass.cpp30 bool set_equal(const Set& set, Set other) in set_equal() function
58 assert(set_equal(src, {5})); in main()
59 assert(set_equal(dst, {1, 2, 3, 4, 5})); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
110 assert(set_equal(first, {1, 2, 3, 4})); in main()
111 assert(set_equal(second, {2, 3})); in main()
112 assert(set_equal(third, {1, 3})); in main()
127 assert(set_equal(first, {1, 2, 3, 4})); in main()
128 assert(set_equal(second, {2, 3})); in main()
[all …]
/external/libcxx/test/std/containers/associative/multiset/
Dmerge.pass.cpp31 bool set_equal(const Set& set, Set other) in set_equal() function
59 assert(set_equal(src, {})); in main()
60 assert(set_equal(dst, {1, 2, 3, 4, 5, 5})); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
111 assert(set_equal(first, {1, 1, 2, 2, 3, 3, 3, 4})); in main()
112 assert(set_equal(second, {})); in main()
113 assert(set_equal(third, {})); in main()
128 assert(set_equal(first, {1, 1, 2, 2, 3, 3, 3, 4})); in main()
129 assert(set_equal(second, {})); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/multiset/
Dmerge.pass.cpp30 bool set_equal(const Set& set, Set other) in set_equal() function
58 assert(set_equal(src, {})); in main()
59 assert(set_equal(dst, {1, 2, 3, 4, 5, 5})); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
110 assert(set_equal(first, {1, 1, 2, 2, 3, 3, 3, 4})); in main()
111 assert(set_equal(second, {})); in main()
112 assert(set_equal(third, {})); in main()
127 assert(set_equal(first, {1, 1, 2, 2, 3, 3, 3, 4})); in main()
128 assert(set_equal(second, {})); in main()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dmerge.pass.cpp31 bool set_equal(const Set& set, Set other) in set_equal() function
59 assert(set_equal(src, {5})); in main()
60 assert(set_equal(dst, {1, 2, 3, 4, 5})); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
111 assert(set_equal(first, {1, 2, 3, 4})); in main()
112 assert(set_equal(second, {2, 3})); in main()
113 assert(set_equal(third, {1, 3})); in main()
128 assert(set_equal(first, {1, 2, 3, 4})); in main()
129 assert(set_equal(second, {2, 3})); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.set/
Dmerge.pass.cpp30 bool set_equal(const Set& set, Set other) in set_equal() function
58 assert(set_equal(src, {5})); in main()
59 assert(set_equal(dst, {1, 2, 3, 4, 5})); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
115 assert(set_equal(first, {1, 2, 3, 4})); in main()
116 assert(set_equal(second, {2, 3})); in main()
117 assert(set_equal(third, {1, 3})); in main()
132 assert(set_equal(first, {1, 2, 3, 4})); in main()
133 assert(set_equal(second, {2, 3})); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Dmerge.pass.cpp31 bool set_equal(const Set& set, Set other) in set_equal() function
59 assert(set_equal(src, {5})); in main()
60 assert(set_equal(dst, {1, 2, 3, 4, 5})); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
116 assert(set_equal(first, {1, 2, 3, 4})); in main()
117 assert(set_equal(second, {2, 3})); in main()
118 assert(set_equal(third, {1, 3})); in main()
133 assert(set_equal(first, {1, 2, 3, 4})); in main()
134 assert(set_equal(second, {2, 3})); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/
Dmerge.pass.cpp30 bool set_equal(const Set& set, Set other) in set_equal() function
58 assert(set_equal(src, {})); in main()
59 assert(set_equal(dst, {1, 2, 3, 4, 5, 5})); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
115 assert(set_equal(first, {1, 2, 3, 4, 2, 3, 1, 3})); in main()
116 assert(set_equal(second, {})); in main()
117 assert(set_equal(third, {})); in main()
132 assert(set_equal(first, {1, 2, 3, 4, 2, 3, 1, 3})); in main()
133 assert(set_equal(second, {})); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Dmerge.pass.cpp31 bool set_equal(const Set& set, Set other) in set_equal() function
59 assert(set_equal(src, {})); in main()
60 assert(set_equal(dst, {1, 2, 3, 4, 5, 5})); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
116 assert(set_equal(first, {1, 2, 3, 4, 2, 3, 1, 3})); in main()
117 assert(set_equal(second, {})); in main()
118 assert(set_equal(third, {})); in main()
133 assert(set_equal(first, {1, 2, 3, 4, 2, 3, 1, 3})); in main()
134 assert(set_equal(second, {})); in main()
[all …]