mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-07 03:15:43 -05:00
Remove three tests that only read back values they had just set. Fold the quantity-weighted utilization check into the mixed-sheet test, and replace the locked-rotation constraint read-back with a run where a bar fits only rotated: placed when rotation is allowed, unplaced when it is not.
16 lines
372 B
C#
16 lines
372 B
C#
namespace OpenNest.Tests.Api;
|
|
|
|
public class CutParametersTests
|
|
{
|
|
[Fact]
|
|
public void Default_HasExpectedValues()
|
|
{
|
|
var cp = CutParameters.Default;
|
|
|
|
Assert.Equal(100, cp.Feedrate);
|
|
Assert.Equal(300, cp.RapidTravelRate);
|
|
Assert.Equal(TimeSpan.FromSeconds(0.5), cp.PierceTime);
|
|
Assert.Equal(Units.Inches, cp.Units);
|
|
}
|
|
}
|