MCPcopy Create free account
hub / github.com/esengine/esengine / ComponentPool.test.ts

File ComponentPool.test.ts

packages/core/tests/ECS/Core/ComponentPool.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ComponentPool, ComponentPoolManager } from '../../../src/ECS/Core/ComponentPool';
2import { Component } from '../../../src/ECS/Component';
3
4// 测试用组件类

Callers

nothing calls this directly

Calls 15

nowMethod · 0.80
resetMethod · 0.65
pushMethod · 0.65
clearMethod · 0.65
hasMethod · 0.65
getMethod · 0.65
getAvailableCountMethod · 0.45
getMaxSizeMethod · 0.45
acquireMethod · 0.45
releaseMethod · 0.45
forEachMethod · 0.45
prewarmMethod · 0.45

Tested by

no test coverage detected