From 86323768e05e089eeece5351f58751e839d8c051 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 15:23:28 +0200 Subject: [PATCH] PaintModeTests: a cloud-thinned echo reads as nothing within the cloud's own fade, not exactly zero The cloud fades linearly over its lifetime, so an opaque cloud's two legs read 3e-5 a few ticks in. The zero cases compare within a tolerance. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/PaintModeTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/PaintModeTests.cs b/tests/Aetheria.Shared.Tests/PaintModeTests.cs index 3a047cdb1..4229c4e63 100644 --- a/tests/Aetheria.Shared.Tests/PaintModeTests.cs +++ b/tests/Aetheria.Shared.Tests/PaintModeTests.cs @@ -506,13 +506,13 @@ public sealed class PaintModeTests : IDisposable Assert.Equal(1, painted); if (leg == 0) { - Assert.Equal(0f, Track(a, t)); - Assert.Equal(0f, Track(c, t)); + Near(0f, Track(a, t)); + Near(0f, Track(c, t)); } else if (leg == 1) { Near(.1f, Track(a, t)); - Assert.Equal(0f, Track(c, t)); + Near(0f, Track(c, t)); } else {