Lines Matching refs:stats
150 stats = ConstructorStats.get(m.A)
151 assert stats.alive() == 2
154 assert stats.alive() == 2
161 assert stats.alive() == 3
166 assert stats.alive() == 3
171 assert stats.alive() == 3
176 assert stats.alive() == 0
181 stats = ConstructorStats.get(m.B)
182 assert stats.alive() == 2
185 assert stats.alive() == 2
190 assert stats.alive() == 2
197 assert stats.alive() == 3
202 assert stats.alive() == 3
207 assert stats.alive() == 3
212 assert stats.alive() == 0
221 stats = ConstructorStats.get(m.TypeWithMoveOnlyHolder)
222 assert stats.alive() == 1
224 assert stats.alive() == 0
235 stats = ConstructorStats.get(m.TypeForHolderWithAddressOf)
236 assert stats.alive() == 1
239 assert stats.alive() == 2
241 assert stats.alive() == 1
243 assert stats.alive() == 0
248 assert stats.alive() == 1
251 assert stats.alive() == 1
254 assert stats.alive() == 0
261 stats = ConstructorStats.get(m.TypeForMoveOnlyHolderWithAddressOf)
262 assert stats.alive() == 1
268 assert stats.alive() == 0