feat(mosstank): add VTank-style automation PoC

This commit is contained in:
Erik 2026-08-27 18:57:21 +02:00
parent f6fe0f2a4f
commit 4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions

View file

@ -2736,6 +2736,21 @@ public sealed class HeadlessSessionHostTests
Assert.False(frameHost.CanAdvancePlayer);
}
[Fact]
public void CommandMovementFrameIsMarkedPersistentWithoutMutatingOwner()
{
using var movement = new RuntimeLocalPlayerMovementState();
var command = new MovementInput(TurnLeft: true);
movement.SetCommandInput(command);
var source = new HeadlessMovementInputSource(movement);
MovementInput captured = source.Capture();
Assert.True(captured.TurnLeft);
Assert.True(captured.IsPersistentCommand);
Assert.Equal(command, movement.CommandInput);
}
private static LiveSessionHost CreateInertLiveSessionHost()
{
var controller = new LiveSessionController(