Lines Matching refs:EnumSet
30 TEST(EnumSet, IsEmpty1) { in TEST() argument
31 EnumSet<uint32_t> set; in TEST()
37 TEST(EnumSet, IsEmpty2) { in TEST() argument
38 EnumSet<uint32_t> set; in TEST()
44 TEST(EnumSet, IsEmpty3) { in TEST() argument
45 EnumSet<uint32_t> set(4); in TEST()
49 TEST(EnumSet, IsEmpty4) { in TEST() argument
50 EnumSet<uint32_t> set(300); in TEST()
55 const EnumSet<uint32_t> set; in TEST()
56 const EnumSet<uint32_t> empty; in TEST()
58 EXPECT_TRUE(EnumSet<uint32_t>().HasAnyOf(EnumSet<uint32_t>())); in TEST()
62 EnumSet<uint32_t> set; in TEST()
63 const EnumSet<uint32_t> empty; in TEST()
70 EnumSet<uint32_t> set; in TEST()
71 const EnumSet<uint32_t> empty; in TEST()
78 EnumSet<uint32_t> set; in TEST()
79 const EnumSet<uint32_t> empty; in TEST()
88 EnumSet<uint32_t> set; in TEST()
89 const EnumSet<uint32_t> empty; in TEST()
94 EXPECT_TRUE(EnumSet<uint32_t>(100).HasAnyOf(EnumSet<uint32_t>())); in TEST()
98 EnumSet<uint32_t> set(3); in TEST()
105 EnumSet<uint32_t> set(200); in TEST()
112 EnumSet<uint32_t> set(3); in TEST()
120 EnumSet<uint32_t> set; in TEST()
121 EnumSet<uint32_t> items; in TEST()
125 EXPECT_FALSE(set.HasAnyOf(EnumSet<uint32_t>(i))); in TEST()
130 EnumSet<uint32_t> set(0); in TEST()
131 EnumSet<uint32_t> items(1); in TEST()
143 EnumSet<uint32_t> set(100); in TEST()
144 EnumSet<uint32_t> items(200); in TEST()
156 EnumSet<uint32_t> set(0); in TEST()
157 EnumSet<uint32_t> items(100); in TEST()
167 EXPECT_FALSE(set.HasAnyOf(EnumSet<uint32_t>(20))); in TEST()
168 EXPECT_FALSE(set.HasAnyOf(EnumSet<uint32_t>(600))); in TEST()
169 EXPECT_TRUE(set.HasAnyOf(EnumSet<uint32_t>(5))); in TEST()
170 EXPECT_TRUE(set.HasAnyOf(EnumSet<uint32_t>(300))); in TEST()
171 EXPECT_TRUE(set.HasAnyOf(EnumSet<uint32_t>(0))); in TEST()
174 TEST(EnumSet, DefaultIsEmpty) { in TEST() argument
175 EnumSet<uint32_t> set; in TEST()