5#include <unordered_map>
7#include "flutter/fml/container.h"
9#include "gtest/gtest.h"
14TEST(ContainerTest, MapEraseIf) {
15 std::unordered_map<int, int>
map = {{0, 1}, {2, 3}, {4, 5}};
18 return it->first == 0 || it->second == 5;
21 EXPECT_EQ(
map.size(), 1u);
void erase_if(Collection &container, std::function< bool(typename Collection::iterator)> predicate)
TEST(MallocMapping, EmptyContructor)
SI auto map(std::index_sequence< I... >, Fn &&fn, const Args &... args) -> skvx::Vec< sizeof...(I), decltype(fn(args[0]...))>
#define EXPECT_TRUE(handle)