From cbb4526070dd25a828ce906b544892c3ad682fe5 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 07:32:45 +0200 Subject: [PATCH] EW 3 tests: a live quiet subject's reveal stays in the book, so the belief ends by age, not by the book dropping Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ContactRevealTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs index 69ec819ad..3018f3741 100644 --- a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs +++ b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs @@ -1786,7 +1786,7 @@ public sealed partial class ContactRevealTests : IDisposable Assert.Equal(1, o.VisibleEnemies.Count(x => x == e)); } - // The belief outlives the track only as long as a reveal younger than BearingMemory, and goes with the book. + // The belief outlives the track only as long as a reveal younger than BearingMemory. [Fact] public void TelemetryEndsWhenTheBearingIsForgotten() { @@ -1806,8 +1806,8 @@ public sealed partial class ContactRevealTests : IDisposable Assert.True(o.IsHostileTo(e), "a young reveal keeps the belief"); Assert.Contains(e, o.RememberedHostiles); - for (var i = 0; i < 100 && o.RevealedSubjects.Contains(e); i++) Tick(.1f); - Assert.False(o.RevealedSubjects.Contains(e), "fixture: the book dropped the subject"); + for (var i = 0; i < 25; i++) Tick(.1f); // 2.5 s: past BearingMemory (2 s); the live quiet subject's reveal stays in the book, old + Assert.False(o.ContactOf(e).Detected, "fixture: the bearing is forgotten"); Assert.False(o.TryGetTelemetry(e, out _)); Assert.False(o.IsHostileTo(e)); }