Adapt vector-rows ShipRigTests to ShipAuthoringStore.Read's product element

Master's Read returns (Hull, Visual, Products); the branch's row-roundtrip
test deconstructed two. Mechanical; builds on the merged tree (the merge
commit before this does not build the test project).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-13 01:27:08 +02:00
commit 4435ab16c9

View file

@ -860,7 +860,7 @@ public sealed class ShipRigTests : IDisposable
ShipAuthoringStore.Write(cache, ship.Hull, ship.Visual);
await cache.FlushAsync();
}
var (hull, _) = ShipAuthoringStore.Read(path);
var (hull, _, _) = ShipAuthoringStore.Read(path);
Assert.Equal(new[] { "r", "r", null }, hull.Hardpoints.Select(hardpoint => hardpoint.Row));
Assert.Equal(new[] { 90f, 90f, 0f }, hull.Hardpoints.Select(hardpoint => hardpoint.FiringArc));
}