test: remove known tautologies and scaffolds

This commit is contained in:
Erik 2026-08-18 10:40:20 +02:00
parent 8e884679e0
commit 52015f5052
9 changed files with 156 additions and 61 deletions

View file

@ -425,6 +425,7 @@ public sealed class RuntimeLocalPlayerFirstEntryStateTests
{
using var fixture = new Fixture(residentWorld: false);
PhysicsBody? body = null;
PlayerMovementController? controller = null;
for (int i = 0; i < 3; i++)
{
@ -435,7 +436,10 @@ public sealed class RuntimeLocalPlayerFirstEntryStateTests
Assert.Equal(1, fixture.Publication.CaptureOwnership().PendingActivationCount);
body ??= fixture.Record.PhysicsBody;
Assert.Same(body, fixture.Record.PhysicsBody);
Assert.Same(fixture.Movement.Controller, fixture.Movement.Controller);
PlayerMovementController currentController =
Assert.IsType<PlayerMovementController>(fixture.Movement.Controller);
controller ??= currentController;
Assert.Same(controller, currentController);
}
}