HaulRunTests: TheLegIsTheHold stages the demo entrance of seed 2

Old reading at seed 1: loaded hauler dot toward the refinery 0.9879 (emptied 0.9810). New reading at seed 1: 0.0042, since the Lagrange sides moved when the count draw left the stream and the stations now sit 415 from a 139217-mass body whose pull beats 3 s of steering. Seed 2 reads 0.9999 loaded and 0.9952 emptied against the unchanged bound of 0.5.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-28 23:44:37 +01:00
commit f19082264c

View file

@ -136,7 +136,9 @@ public sealed partial class RunStartTests
{
var flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.DeclaredOnly;
Assert.Equal(new[] { "Order" }, typeof(HaulingTask).GetFields(flags).Select(field => field.Name));
var world = HaulStage(silo: 0);
// Seed 2: the demo entrance of seed 1 seats Zenith and the refinery 415 from a body of mass 139217 since region-chain-deck moved the stations'
// Lagrange sides, and its pull beats the steering in 3 s (a loaded hauler's dot toward the refinery reads 0.0042, was 0.9879).
var world = HaulStage(2, silo: 0);
var hold = world.Hauler.CargoBays[0];
Assert.Equal(world.Order.From.Key, HaulRun.Leg(world.Hauler, world.Order));
Assert.True(hold.TryStore(new SimpleCommodity { Data = new CultRecordRef<ItemData>(world.Good), Quantity = 5 }));