mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 03:51:05 -04:00
IO only needed Engine for the best-fit cache, which now goes through IBestFitStore. Removing the reference stops every IO consumer pulling in the engine and ONNX Runtime. A guard test keeps the assembly from referencing it again; IO.Tests references Engine itself for its whole-job round-trip tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
306 B
C#
13 lines
306 B
C#
namespace OpenNest.IO.Tests;
|
|
|
|
public class IoDependencyTests
|
|
{
|
|
[Fact]
|
|
public void IoAssembly_DoesNotReferenceTheEngine()
|
|
{
|
|
var references = typeof(NestReader).Assembly.GetReferencedAssemblies().Select(a => a.Name);
|
|
|
|
Assert.DoesNotContain("OpenNest.Engine", references);
|
|
}
|
|
}
|