test(battle-engine M13): NewNetworkEmitBattle harness + OnEmit capture seam

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 12:00:04 -04:00
parent 6b2c825eb8
commit 25e9ae9573
2 changed files with 50 additions and 0 deletions

View File

@@ -21,5 +21,15 @@ namespace SVSim.BattleEngine.Tests
Assert.That(mgr, Is.Not.Null);
});
}
[Test]
public void OnEmit_capture_seam_is_wired_via_injected_agent()
{
var (mgr, emitted) = HeadlessEngineEnv.NewNetworkEmitBattle();
Assert.That(mgr, Is.Not.Null);
Assert.That(Wizard.ToolboxGame.RealTimeNetworkAgent, Is.Not.Null,
"agent must be injected so NetworkBattleSender's ToolboxGame.RealTimeNetworkAgent.* calls resolve");
Assert.That(emitted, Is.Empty, "no emit yet — only the seam is wired");
}
}
}