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:
45
OpenNest.Tests/CuttingStrategy/MotionSuppressedTests.cs
Normal file
45
OpenNest.Tests/CuttingStrategy/MotionSuppressedTests.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using OpenNest.CNC;
|
||||
using OpenNest.Geometry;
|
||||
|
||||
namespace OpenNest.Tests.CuttingStrategy;
|
||||
|
||||
public class MotionSuppressedTests
|
||||
{
|
||||
[Fact]
|
||||
public void LinearMove_Suppressed_DefaultsFalse()
|
||||
{
|
||||
var move = new LinearMove(new Vector(1, 2));
|
||||
Assert.False(move.Suppressed);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ArcMove_Suppressed_DefaultsFalse()
|
||||
{
|
||||
var move = new ArcMove(new Vector(1, 2), new Vector(0, 0));
|
||||
Assert.False(move.Suppressed);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RapidMove_Suppressed_DefaultsFalse()
|
||||
{
|
||||
var move = new RapidMove(new Vector(1, 2));
|
||||
Assert.False(move.Suppressed);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Suppressed_CanBeSet()
|
||||
{
|
||||
var move = new LinearMove(new Vector(1, 2));
|
||||
move.Suppressed = true;
|
||||
Assert.True(move.Suppressed);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Clone_PreservesSuppressed()
|
||||
{
|
||||
var move = new LinearMove(new Vector(1, 2));
|
||||
move.Suppressed = true;
|
||||
var clone = (LinearMove)move.Clone();
|
||||
Assert.True(clone.Suppressed);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user