From f5329e50a230bcb0c38aa8dad3a0e29e30496e37 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 05:55:53 +0200 Subject: [PATCH] RestoredHullsTests: the entrance throw is reached by a single-root zone (several roots give the station a root to orbit) Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/RestoredHullsTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/RestoredHullsTests.cs b/tests/Aetheria.Shared.Tests/RestoredHullsTests.cs index 641c0d54a..6711f894a 100644 --- a/tests/Aetheria.Shared.Tests/RestoredHullsTests.cs +++ b/tests/Aetheria.Shared.Tests/RestoredHullsTests.cs @@ -461,6 +461,8 @@ public sealed class RestoredHullsTests var zoneSettings = TutorialZoneSettings(); zoneSettings.RosetteProbability = 0; zoneSettings.MassFloor = 1e9f; + // One subzone: the zone's only body is a parentless root. (Several roots give the station a root to orbit.) + zoneSettings.SubZoneCount = new ExponentialLerp { Exponent = 1, Minimum = 0, Maximum = 0 }; Assert.Throws(() => ZoneGenerator.GenerateZone(items, zoneSettings, AuthoredPlanetSettings(), galaxy, galaxy.Entrance, isTutorial: true));