Three standalone INestingEngine plugin projects (Solve() unimplemented, throws NotImplementedException), each outside OpenNest.sln and discovered at runtime via NestingEngineRegistry.LoadPlugins, same pattern as OpenNest.Engine.Aurora. Each README spells out that Solve() must be an independently designed placement algorithm and must never call/wrap/select over the built-in engines (StockLadderNestingEngine, FixedStrategyNestingEngine, PlateNesterFactory, NestingEngineRegistry). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
21 lines
576 B
C#
21 lines
576 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using OpenNest.Engine.Jobs;
|
|
using OpenNest.Geometry;
|
|
|
|
namespace OpenNest.Engine.Terra.Tests;
|
|
|
|
public class TerraNestingEngineTests
|
|
{
|
|
[Fact]
|
|
public void SolveReturnsAResultForASingleSimplePart()
|
|
{
|
|
// TODO: replace with a real fixture once Solve() is implemented — this only
|
|
// proves the plumbing (project reference, constructor, interface) is wired up.
|
|
var engine = new TerraNestingEngine();
|
|
|
|
Assert.NotNull(engine);
|
|
Assert.IsAssignableFrom<INestingEngine>(engine);
|
|
}
|
|
}
|