refactor: organize test project into subdirectories by feature area
Move 43 root-level test files into feature-specific subdirectories mirroring the main codebase structure: Geometry, Fill, BestFit, CutOffs, CuttingStrategy, Engine, IO. Update namespaces to match folder paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using OpenNest.CNC;
|
||||
using OpenNest.Geometry;
|
||||
|
||||
namespace OpenNest.Tests.Engine;
|
||||
|
||||
public class PartFlagTests
|
||||
{
|
||||
[Fact]
|
||||
public void HasManualLeadIns_DefaultsFalse()
|
||||
{
|
||||
var pgm = new Program();
|
||||
pgm.Codes.Add(new RapidMove(new Vector(0, 0)));
|
||||
var drawing = new Drawing("test", pgm);
|
||||
var part = new Part(drawing);
|
||||
|
||||
Assert.False(part.HasManualLeadIns);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void HasManualLeadIns_CanBeSet()
|
||||
{
|
||||
var pgm = new Program();
|
||||
pgm.Codes.Add(new RapidMove(new Vector(0, 0)));
|
||||
var drawing = new Drawing("test", pgm);
|
||||
var part = new Part(drawing);
|
||||
|
||||
part.HasManualLeadIns = true;
|
||||
|
||||
Assert.True(part.HasManualLeadIns);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user