EW 3 tests: add the Forbid helper the previous commit referenced (8a779b3a does not build)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1ddd1bef31
commit
5a7ab7944b
1 changed files with 3 additions and 0 deletions
|
|
@ -1758,6 +1758,9 @@ public sealed partial class ContactRevealTests : IDisposable
|
|||
Assert.Equal(hostile, o.IsHostileTo(e));
|
||||
}
|
||||
|
||||
// The zone owner does not permit `e` here. Set directly: Update re-derives the security level from the ship's location.
|
||||
private static void Forbid(Entity e) => e.PresencePermitted = UniRx.Observable.Return(false).ToReadOnlyReactiveProperty();
|
||||
|
||||
// Ruling ew-telemetry-with-the-track: a contact held by a bearing only has no allegiance; it gets one at its first track.
|
||||
[Fact]
|
||||
public void ABearingOnlyContactHasNoAllegiance()
|
||||
|
|
|
|||
Loading…
Reference in a new issue