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
582 B
C#
21 lines
582 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using OpenNest.Engine.Jobs;
|
|
using OpenNest.Geometry;
|
|
|
|
namespace OpenNest.Engine.Sonnet5.Tests;
|
|
|
|
public class Sonnet5NestingEngineTests
|
|
{
|
|
[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 Sonnet5NestingEngine();
|
|
|
|
Assert.NotNull(engine);
|
|
Assert.IsAssignableFrom<INestingEngine>(engine);
|
|
}
|
|
}
|