LockWarningTests: a paint waiting in the inbox does not outlive a deactivation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6fff037ac7
commit
90f1775cb9
1 changed files with 7 additions and 0 deletions
|
|
@ -252,5 +252,12 @@ public sealed class LockWarningTests : IDisposable
|
|||
b.Activate();
|
||||
b.Update(.01f);
|
||||
Assert.Empty(b.IncomingLocks); // the paint received while inactive was never stored
|
||||
|
||||
// A paint still waiting in the inbox when the ship deactivates does not survive to the next activation.
|
||||
Aim(locker, b, .5f);
|
||||
b.Deactivate();
|
||||
b.Activate();
|
||||
b.Update(.01f);
|
||||
Assert.Empty(b.IncomingLocks);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue