test(battle-engine M13): best-effort emit-payload presence (Inconclusive => deferred to structural validation)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,17 @@ namespace SVSim.BattleEngine.Tests
|
||||
Assert.That(player.CemeteryList, Does.Contain(spell), "spell should land in the cemetery");
|
||||
Assert.That(player.ClassAndInPlayCardList, Does.Not.Contain(spell), "a spell does not occupy the board");
|
||||
});
|
||||
|
||||
// Best-effort (F-E-7): with CurrentMatchingStatus seeded non-Disconnected (NewNetworkEmitBattle),
|
||||
// the flow reaches stockEmitMessageMgr.StockData(info); read it back. If the stock machinery is
|
||||
// not drivable headless this milestone, this assertion is DEFERRED to structural validation
|
||||
// (spec §6) — the OnEmit + no-throw + state checks above are the decisive O1 read on their own.
|
||||
var agent = Wizard.ToolboxGame.RealTimeNetworkAgent;
|
||||
var stocked = HeadlessEngineEnv.TryReadStockedEmitData(agent); // returns null if unreachable
|
||||
if (stocked != null)
|
||||
Assert.That(stocked, Is.Not.Empty, "the emitted dict should be stocked non-empty");
|
||||
else
|
||||
Assert.Inconclusive("payload-presence DEFERRED: stock-sequencer not drivable headless (spec §6)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user