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:
parent
27094e8859
commit
4435ab16c9
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue