A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(tests): distanceFog is the sixteenth effect, and the count says so
esengine619e0d6d7e6b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6c45f3397..3090da4cb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -74,6 +74,12 @@ published separately; it ships inside the editor.and the software rasterizer agree on all four to the byte.+- **`distanceFog` was the sixteenth post-process effect and the count still said+ fifteen.** `shader-twins` asserts how many embedded `.esshader` sources each+ file contributes, which is how it notices one going missing — and the effect+ that landed this release left the number behind, so the SDK suite has been red+ on master since. Counted right, 5107 tests pass.+- **The cooked-build check was failing about two runs in three, and the reasonlooked like arithmetic.** `verify:cooked` — an exit criterion, and a gate onevery PR — steps a fixture 60 fixed frames in a compiled build and in andiff --git a/sdk/tests/shader-twins.test.ts b/sdk/tests/shader-twins.test.tsindex d5a8d9f87..8415840d5 100644--- a/sdk/tests/shader-twins.test.ts+++ b/sdk/tests/shader-twins.test.ts@@ -53,7 +53,7 @@ describe('embedded .esshader structure', () => {it('found the filter, effect and grid sources', () => {expect(CASES.filter((c) => c.name.startsWith('filters.ts')).length).toBe(1);expect(CASES.filter((c) => c.name.startsWith('spriteFilter.ts')).length).toBe(2);- expect(CASES.filter((c) => c.name.startsWith('postProcessEffects.ts')).length).toBe(15);+ expect(CASES.filter((c) => c.name.startsWith('postProcessEffects.ts')).length).toBe(16);expect(CASES.filter((c) => c.name.startsWith('editorGridRenderer.ts')).length).toBe(1);});