• Home
  • Raw
  • Download

Lines Matching refs:set

31   EnumSet<uint32_t> set;  in TEST()  local
32 EXPECT_TRUE(set.IsEmpty()); in TEST()
33 set.Add(0); in TEST()
34 EXPECT_FALSE(set.IsEmpty()); in TEST()
38 EnumSet<uint32_t> set; in TEST() local
39 EXPECT_TRUE(set.IsEmpty()); in TEST()
40 set.Add(150); in TEST()
41 EXPECT_FALSE(set.IsEmpty()); in TEST()
45 EnumSet<uint32_t> set(4); in TEST() local
46 EXPECT_FALSE(set.IsEmpty()); in TEST()
50 EnumSet<uint32_t> set(300); in TEST() local
51 EXPECT_FALSE(set.IsEmpty()); in TEST()
55 const EnumSet<uint32_t> set; in TEST() local
57 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
62 EnumSet<uint32_t> set; in TEST() local
64 set.Add(5); in TEST()
65 set.Add(8); in TEST()
66 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
70 EnumSet<uint32_t> set; in TEST() local
72 set.Add(200); in TEST()
73 set.Add(300); in TEST()
74 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
78 EnumSet<uint32_t> set; in TEST() local
80 set.Add(5); in TEST()
81 set.Add(8); in TEST()
82 set.Add(200); in TEST()
83 set.Add(300); in TEST()
84 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
88 EnumSet<uint32_t> set; in TEST() local
90 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
91 set.Add(5); in TEST()
92 EXPECT_TRUE(set.HasAnyOf(empty)); in TEST()
98 EnumSet<uint32_t> set(3); in TEST() local
99 set.Add(24); in TEST()
100 set.Add(30); in TEST()
101 EXPECT_TRUE(set.HasAnyOf(set)); in TEST()
105 EnumSet<uint32_t> set(200); in TEST() local
106 set.Add(300); in TEST()
107 set.Add(400); in TEST()
108 EXPECT_TRUE(set.HasAnyOf(set)); in TEST()
112 EnumSet<uint32_t> set(3); in TEST() local
113 set.Add(24); in TEST()
114 set.Add(300); in TEST()
115 set.Add(400); in TEST()
116 EXPECT_TRUE(set.HasAnyOf(set)); in TEST()
120 EnumSet<uint32_t> set; in TEST() local
124 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
125 EXPECT_FALSE(set.HasAnyOf(EnumSet<uint32_t>(i))); in TEST()
130 EnumSet<uint32_t> set(0); in TEST() local
132 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
133 set.Add(2); in TEST()
135 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
136 set.Add(3); in TEST()
137 EXPECT_TRUE(set.HasAnyOf(items)); in TEST()
138 set.Add(4); in TEST()
139 EXPECT_TRUE(set.HasAnyOf(items)); in TEST()
143 EnumSet<uint32_t> set(100); in TEST() local
145 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
146 set.Add(300); in TEST()
148 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
149 set.Add(200); in TEST()
150 EXPECT_TRUE(set.HasAnyOf(items)); in TEST()
151 set.Add(500); in TEST()
152 EXPECT_TRUE(set.HasAnyOf(items)); in TEST()
156 EnumSet<uint32_t> set(0); in TEST() local
158 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
159 set.Add(300); in TEST()
161 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
162 set.Add(5); in TEST()
164 EXPECT_FALSE(set.HasAnyOf(items)); in TEST()
165 set.Add(500); in TEST()
166 EXPECT_TRUE(set.HasAnyOf(items)); 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()
175 EnumSet<uint32_t> set; in TEST() local
177 EXPECT_FALSE(set.Contains(i)); in TEST()