OldPlayerSettingsLoad: old key 2 carries a non-default value

A default 1f would load the same with key 2 dropped, so the test could not
fail when the old array lost it. Builds; not yet run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 04:37:13 +02:00
commit dc0b1e2cfe

View file

@ -581,7 +581,7 @@ public sealed partial class RunStartTests
Assert.Equal("hash", settings.HashedStoryFiles["story"]);
Assert.Equal((TemperatureUnit.Kelvin, 5), (settings.GameplaySettings.TemperatureUnit, settings.GameplaySettings.SignificantDigits));
Assert.Equal("<Keyboard>/1", Assert.Single(settings.InputSettings.ActionBarInputs));
Assert.Equal((Quality.High, 1f), (settings.GraphicsSettings.NebulaQuality, settings.GraphicsSettings.ScreenShake));
Assert.Equal((Quality.High, 0.25f), (settings.GraphicsSettings.NebulaQuality, settings.GraphicsSettings.ScreenShake));
}
// A scenario's Brief is player text (the menu shows it): it names gear by what the catalog sells today. A name a rename retired,