test(battlenode): capture-replay helper + battle_test fixtures (Phase 2 N1)

CaptureReplay normalizes the capture's send/receive envelope asymmetry (send
frames carry uri at top level + bare payload body; receive frames carry a full
envelope body) and extracts selfDeck + master seed from Matched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 14:59:48 -04:00
parent c9841c012b
commit eaa7b4d85c
5 changed files with 196 additions and 0 deletions

View File

@@ -21,6 +21,11 @@
<ProjectReference Include="..\SVSim.BattleNode\SVSim.BattleNode.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Captured PvP battle (both clients) replayed through the engine in the N1 shadow test. -->
<None Include="Fixtures\**\*.ndjson" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<!-- The loader's card-master dump (serialized CardCSVData objects). The headless fixture
reflects these into CardMaster so the resolution path can look up real card stats. -->