Files
OpenNest/OpenNest.IO.Tests/IoDependencyTests.cs
T
ajandClaude Opus 5.5 2d5bf6f42c build(io): drop OpenNest.IO's reference to the engine
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>
2026-10-16 14:54:44 -04:00

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);
}
}