Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

test(game-pack): the sound-only case compares with a pack of its own request version

Soohong Kimfd41c238981f
diff --git a/tests/compose/test_game_pack_audio.py b/tests/compose/test_game_pack_audio.py
index 35b93e9..ee9cfa2 100644
--- a/tests/compose/test_game_pack_audio.py
+++ b/tests/compose/test_game_pack_audio.py
@@ -138,7 +138,9 @@ SOUND_ONLY_FILES = ['audio-hit.m4a', 'audio-hit.ogg', 'game-pack.json', 'sprite-
def test_a_sound_only_request_packs_the_manifest_sound_and_helper(tmp_path, version, assets):
path, request = with_sound(tmp_path)
request['version'] = version
+ path.write_text(json.dumps(request))
pictured = pack(path, tmp_path/'pictured')
+ assert pictured['version'] == version and pictured['textures']
if assets is None:
del request['assets']
else: