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 <noreply@anthropic.com>
This commit is contained in:
parent
c727141a2f
commit
f5329e50a2
1 changed files with 2 additions and 0 deletions
|
|
@ -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<InvalidOperationException>(() =>
|
||||
ZoneGenerator.GenerateZone(items, zoneSettings, AuthoredPlanetSettings(), galaxy, galaxy.Entrance, isTutorial: true));
|
||||
|
|
|
|||
Loading…
Reference in a new issue