Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ aseprite-parser.spec.js
File
aseprite-parser.spec.js
packages/melonjs/tests/aseprite-parser.spec.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Unit tests
for
the .aseprite binary parser.
3
*
4
* These tests synthesize minimal Aseprite files in-memory (header + chunks)
Callers
nothing calls this directly
Calls
15
parseAseprite
Function · 0.90
writeHeader
Function · 0.85
writeFrame
Function · 0.85
patchU32
Function · 0.85
readPixel
Function · 0.85
patchU32WriterPart
Function · 0.85
writeRawCelChunk
Function · 0.85
toBuffer
Method · 0.80
zeros
Method · 0.80
bytes
Method · 0.80
u32
Method · 0.45
u16
Method · 0.45
Tested by
no test coverage detected