Gravity subtract tests: open the fixtures' caches with a run store
OrbitData and BodyData are run-store types; a cache opened with a catalog only has no home for the well body. The six fixtures that dig a well now open with a run path. The previous commit does not pass its tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d3fb29ed2
commit
55d5566743
6 changed files with 6 additions and 6 deletions
|
|
@ -217,7 +217,7 @@ public sealed class FloatingBodyTests : IDisposable
|
|||
// the sign or changing how delta enters the line fails here, not only the Zone function's pin above.
|
||||
private Ship ShipAt(float x, out Zone zone)
|
||||
{
|
||||
var cache = AetheriaStores.Open(Path.Combine(_root, Guid.NewGuid().ToString("N") + ".cc"), catalogWritable: true);
|
||||
var cache = AetheriaStores.Open(Path.Combine(_root, Guid.NewGuid().ToString("N") + ".cc"), Path.Combine(_root, Guid.NewGuid().ToString("N") + ".run.cc"), catalogWritable: true);
|
||||
_caches.Add(cache);
|
||||
var hullShape = new Shape(5, 5);
|
||||
foreach (var cell in hullShape.AllCoordinates) hullShape[cell] = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue