StationServices tests: a full first station bay does not refuse a sale; worn docking bays are mended
Kills the two survivors Stryker left in StationServices.cs: Any() to All() over the station's bays, and Concat() to Except() over the docking bays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b817541647
commit
c82b28851a
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ public sealed class StationServicesTests : IDisposable
|
|||
var bay = new Shape(4, 4);
|
||||
foreach (var cell in bay.AllCoordinates) bay[cell] = true;
|
||||
_cache.Upsert(new CargoBayData { Name = "Crate", Shape = new Shape(), InteriorShape = bay, Price = 20, Durability = 4 });
|
||||
_cache.Upsert(new DockingBayData { Name = "Berth", Shape = new Shape(), InteriorShape = bay, MaxSize = new int2(2, 2), Price = 60, Durability = 6 });
|
||||
_cache.Upsert(new SimpleCommodityData { Name = "Ore", Shape = new Shape(), Price = 7, MaxStack = 100 });
|
||||
_cache.FlushAsync().Wait();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue