test: remove known tautologies and scaffolds
This commit is contained in:
parent
8e884679e0
commit
52015f5052
9 changed files with 156 additions and 61 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue