Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ ComponentPool, ComponentPoolManager } from
'../../../src/ECS/Core/ComponentPool'
;
2
import
{ Component } from
'../../../src/ECS/Component'
;
3
4
// 测试用组件类
Callers
nothing calls this directly
Calls
15
now
Method · 0.80
reset
Method · 0.65
push
Method · 0.65
clear
Method · 0.65
has
Method · 0.65
get
Method · 0.65
getAvailableCount
Method · 0.45
getMaxSize
Method · 0.45
acquire
Method · 0.45
release
Method · 0.45
forEach
Method · 0.45
prewarm
Method · 0.45
Tested by
no test coverage detected