Unreachability test: the departing ship leaves by the warp path, so its own subscriptions to the observer are not the question

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-12 02:23:33 +02:00
commit 53ff5f7c01

View file

@ -1071,6 +1071,7 @@ public sealed class ContactRevealTests : IDisposable
guns[0].EquippableItem.Durability = 0f;
Tick(.01f);
Assert.Same(guns[1], Assert.Single(o.RevealsOf(e)).Item); // fixture: one gun ended as destroyed, one waiting
e.Deactivate(); // the warp path: the ship's own subscriptions to the observer go with it
_zone.Entities.Remove(e);
for (var i = 0; i < 40; i++) Tick(.1f); // past BearingMemory (2 s)
Assert.Equal(0, RevealBookSubjects(o)); // fixture: pruned