From e2d78b984cec92740245c3435c1cc82289299f8e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 16 Oct 2026 06:25:40 +0200 Subject: [PATCH] PopulatedRadiusTests: the belt fixture carries the asteroid curves a zone with a belt reads The belt fixture's PlanetSettings lacked AsteroidSize, AsteroidHitpoints and AsteroidRespawnTime, so building the zone threw before the bound was read. Builds; the previous commit's belt test fails without this. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/PopulatedRadiusTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/PopulatedRadiusTests.cs b/tests/Aetheria.Shared.Tests/PopulatedRadiusTests.cs index af645a68c..20d6793a0 100644 --- a/tests/Aetheria.Shared.Tests/PopulatedRadiusTests.cs +++ b/tests/Aetheria.Shared.Tests/PopulatedRadiusTests.cs @@ -40,7 +40,10 @@ public sealed class PopulatedRadiusTests : IDisposable BodyRadius = Flat(20f), WellStrength = new ExponentialCurve { Multiplier = 100f, Exponent = 1f }, RocheLimit = new ExponentialCurve { Multiplier = 10f, Exponent = 1f }, - LightRadius = Flat(0f) + LightRadius = Flat(0f), + AsteroidSize = new ExponentialLerp { Minimum = 2f, Maximum = 9f, Exponent = 1.7f }, + AsteroidHitpoints = new ExponentialLerp { Minimum = 10f, Maximum = 300f, Exponent = 2f }, + AsteroidRespawnTime = new ExponentialLerp { Minimum = 5f, Maximum = 60f, Exponent = 1f } }; private sealed class Scene