From a89d30376d05c4ffaca494ee333030b43f4ad24d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 13 Oct 2026 08:31:27 +0200 Subject: [PATCH] Fix merge build: contact reveal tests remove through Zone.Remove; PickupTests settings drop the retired TargetArmorInfoThreshold The merge commit before this does not build. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ContactRevealTests.cs | 4 ++-- tests/Aetheria.Shared.Tests/PickupTests.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs index 54616c93c..28b6b3aca 100644 --- a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs +++ b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs @@ -752,7 +752,7 @@ public sealed partial class ContactRevealTests : IDisposable foreach (var source in e.VisibilitySources.Keys.ToArray()) e.SetSignature(source, SignatureChannel.Reflection, 0f, Guns(e)[0]); e.SetSignature(new object(), channel, gate * 1.01f, Guns(e)[0]); - _zone.Entities.Remove(e); + _zone.Remove(e); Tick(.1f); Assert.Empty(o.RevealsOf(e)); @@ -776,7 +776,7 @@ public sealed partial class ContactRevealTests : IDisposable Assert.Equal(gate * against, e.Visibility, 4); Assert.All(e.VisibilitySources.Values.Where(v => v.Strength > 0f), v => Assert.Null(v.Item)); // fixture: the deciding light names no item - _zone.Entities.Remove(e); + _zone.Remove(e); Tick(.1f); Assert.Equal(ended ? 0 : 1, o.RevealsOf(e).Count()); diff --git a/tests/Aetheria.Shared.Tests/PickupTests.cs b/tests/Aetheria.Shared.Tests/PickupTests.cs index 330864fc3..61f590c51 100644 --- a/tests/Aetheria.Shared.Tests/PickupTests.cs +++ b/tests/Aetheria.Shared.Tests/PickupTests.cs @@ -71,7 +71,7 @@ public sealed class PickupTests : IDisposable DefaultEntitySettings = new EntitySettings(), Tiers = new[] { new RarityTier { Name = "Common", Quality = .5f, Rarity = 0, Color = new float3(1, 1, 1) } }, QualityPriceModifier = new ExponentialLerp(), - TargetDetectionInfoThreshold = .1f, TargetArmorInfoThreshold = .2f, TargetGearInfoThreshold = .8f, + TargetDetectionInfoThreshold = .1f, TargetGearInfoThreshold = .8f, FiringArc = 170, CommitHorizon = .5f, SchematicCellSize = 1f, UnaidedAccuracy = .05f, UnaidedTracking = 10f, UnaidedPrecision = 2f, AgentMinHitProbability = 0f, LootDropProbability = 0, LootDropVelocity = 25, FloatingItemLifetime = lifetime