Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

Refresh stale STEP242 tests after planar coedge direction fix

Yuechen Li090483d873ba
diff --git a/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs b/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
index 62db0232..59d9a173 100644
--- a/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
+++ b/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
@@ -32,7 +32,7 @@ public sealed class Step242ConicalSurfaceRegressionTests
[Theory]
[InlineData("testdata/step242/nist/CTC/nist_ctc_01_asme1_ap242-e1.stp", "tessellator", "Viewer.Tessellation.CurvedTopologyUnsupported", "Face 57 curved tessellation expected mirrored line uses for this cone/revolved topology. Observed")]
- [InlineData("testdata/step242/nist/CTC/nist_ctc_04_asme1_ap242-e1.stp", "importer-topology", "Importer.LoopRole.DisconnectedCoedges", "Planar loop contains disconnected consecutive coedges")]
+ [InlineData("testdata/step242/nist/CTC/nist_ctc_04_asme1_ap242-e1.stp", "tessellator", "", "Face 1 curved tessellation supports four-coedge torus/revolved loop layouts and the three-coedge cone loop emitted by the handcrafted fixture. Observed")]
[InlineData("testdata/step242/nist/FTC/nist_ftc_06_asme1_ap242-e2.stp", "tessellator", "", "Face 2 curved tessellation does not support this torus/revolved boundary topology yet. Observed")]
public void Step242_NistConicalTargets_AdvancePastConicalRadius_AndReportDeterministicNextBlocker(
string relativePath,
diff --git a/Aetheris.Kernel.Core.Tests/Step242/Step242OrientationSemanticsTests.cs b/Aetheris.Kernel.Core.Tests/Step242/Step242OrientationSemanticsTests.cs
index cecc8957..f5db19da 100644
--- a/Aetheris.Kernel.Core.Tests/Step242/Step242OrientationSemanticsTests.cs
+++ b/Aetheris.Kernel.Core.Tests/Step242/Step242OrientationSemanticsTests.cs
@@ -20,7 +20,7 @@ public sealed class Step242OrientationSemanticsTests
}
[Fact]
- public void ImportBody_FaceBoundOrientationFalse_FlipsCoedgeReversalState()
+ public void ImportBody_FaceBoundOrientationFalse_DoesNotFlipCoedgeReversalStateDuringAssembly()
{
var forward = Step242Importer.ImportBody(BuildSingleTriangleStep(edgeCurveSameSense: true, faceBoundOrientation: true, advancedFaceSameSense: true));
var reversed = Step242Importer.ImportBody(BuildSingleTriangleStep(edgeCurveSameSense: true, faceBoundOrientation: false, advancedFaceSameSense: true));
@@ -30,7 +30,7 @@ public sealed class Step242OrientationSemanticsTests
var forwardCoedge = Assert.Single(forward.Value.Topology.Coedges);
var reversedCoedge = Assert.Single(reversed.Value.Topology.Coedges);
- Assert.NotEqual(forwardCoedge.IsReversed, reversedCoedge.IsReversed);
+ Assert.Equal(forwardCoedge.IsReversed, reversedCoedge.IsReversed);
}
[Fact]