Home
last modified time | relevance | path

Searched refs:map_equal (Results 1 – 5 of 5) sorted by relevance

/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dmerge.pass.cpp31 bool map_equal(const Map& map, Map other) in map_equal() function
59 assert(map_equal(src, {{5,0}})); in main()
60 assert(map_equal(dst, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}})); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
111 assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}})); in main()
112 assert(map_equal(second, {{2, 0}, {3, 0}})); in main()
113 assert(map_equal(third, {{1, 0}, {3, 0}})); in main()
128 assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}})); in main()
129 assert(map_equal(second, {{2, 0}, {3, 0}})); in main()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Dmerge.pass.cpp31 bool map_equal(const Map& map, Map other) in map_equal() function
59 assert(map_equal(src, {})); in main()
60 assert(map_equal(dst, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {5, 0}})); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
111 … assert(map_equal(first, {{1, 0}, {1, 0}, {2, 0}, {2, 0}, {3, 0}, {3, 0}, {3, 0}, {4, 0}})); in main()
112 assert(map_equal(second, {})); in main()
113 assert(map_equal(third, {})); in main()
128 … assert(map_equal(first, {{1, 0}, {1, 0}, {2, 0}, {2, 0}, {3, 0}, {3, 0}, {3, 0}, {4, 0}})); in main()
129 assert(map_equal(second, {})); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp31 bool map_equal(const Map& map, Map other) in map_equal() function
59 assert(map_equal(src, {{5,0}})); in main()
60 assert(map_equal(dst, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}})); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
119 assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}})); in main()
120 assert(map_equal(second, {{2, 0}, {3, 0}})); in main()
121 assert(map_equal(third, {{1, 0}, {3, 0}})); in main()
136 assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}})); in main()
137 assert(map_equal(second, {{2, 0}, {3, 0}})); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp31 bool map_equal(const Map& map, Map other) in map_equal() function
59 assert(map_equal(src, {})); in main()
60 assert(map_equal(dst, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {5, 0}})); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
119 … assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {2, 0}, {3, 0}, {1, 0}, {3, 0}})); in main()
120 assert(map_equal(second, {})); in main()
121 assert(map_equal(third, {})); in main()
136 … assert(map_equal(first, {{1, 0}, {2, 0}, {3, 0}, {4, 0}, {2, 0}, {3, 0}, {1, 0}, {3, 0}})); in main()
137 assert(map_equal(second, {})); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c66 static int map_equal(int lru_map, int expected) in map_equal() function
172 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity0()
242 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity1()
354 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity2()
424 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity3()
484 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity4()
607 assert(map_equal(lru_map_fd, expected_map_fd)); in test_lru_sanity6()