Skip to content

Merge branch 'master' into nih/feat/logging-formatting

dd026fc
Select commit
Loading
Failed to load commit list.
Open

Scaff: Improve output formatting of logs #283

Merge branch 'master' into nih/feat/logging-formatting
dd026fc
Select commit
Loading
Failed to load commit list.
Azure Pipelines / RvmSharp failed Aug 19, 2025 in 3m 35s

Build #20250819.1 had test failures

Details

Tests

  • Failed: 3 (0.62%)
  • Passed: 476 (98.14%)
  • Other: 6 (1.24%)
  • Total: 485

Annotations

Check failure on line 515 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / RvmSharp

Build log #L515

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 642 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / RvmSharp

Build log #L642

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\1\\s\\CadRevealComposer.Tests\\CadRevealComposer.Tests.csproj'
]

Check failure on line 1 in CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent

See this annotation in the file changed.

@azure-pipelines azure-pipelines / RvmSharp

CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent

Multiple failures or warnings in test:
  1)   Assert.That(increase2, Is.EqualTo(trueIncrease2).Within(1.0E-3))
  Expected: 50.0d +/- 0.001d
  But was:  0.5d
  Off by:   49.5d

  2)   Assert.That(increase3, Is.EqualTo(trueIncrease3).Within(1.0E-3))
  Expected: 100.0d +/- 0.001d
  But was:  1.0d
  Off by:   99.0d

  3)   Assert.That(increase4, Is.EqualTo(trueIncrease4).Within(1.0E-3))
  Expected: 200.0d +/- 0.001d
  But was:  2.0d
  Off by:   198.0d

Raw output
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 202

1)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass2_0.<UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 205
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 202

2)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass2_0.<UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 206
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 202

3)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass2_0.<UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 207
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenInputsWhereOutputIsKnown_VerifyCalcOfIncreaseInPercent() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 202

Check failure on line 1 in CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput

See this annotation in the file changed.

@azure-pipelines azure-pipelines / RvmSharp

CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput

Multiple failures or warnings in test:
  1)   Assert.That(values[1], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffCountInstancedMesh,
                            stat1.CountInstancedMesh
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  2)   Assert.That(values[3], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffTriangleCountInInstancedMeshes,
                            stat1.TriangleCountInInstancedMeshes
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  3)   Assert.That(values[1], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffCountTriangleMesh,
                            stat1.CountTriangleMesh
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  4)   Assert.That(values[3], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffTriangleCountInTriangleMeshes,
                            stat1.TriangleCountInTriangleMeshes
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  5)   Assert.That(values[1], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffCountTrapezium,
                            stat1.CountTrapezium
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  6)   Assert.That(values[3], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffTriangleCountInTrapeziums,
                            stat1.TriangleCountInTrapeziums
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  7)   Assert.That(values[1], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffCountTorusSegment,
                            stat1.CountTorusSegment
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  8)   Assert.That(values[3], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffTriangleCountInTorusSegments,
                            stat1.TriangleCountInTorusSegments
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  9)   Assert.That(values[1], Is.EqualTo(GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(diff.DiffCountQuad, stat1.CountQuad))
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  10)   Assert.That(values[3], Is.EqualTo(
                        GeometryDistributionNodeStatsDiff.CalcIncreaseInPercent(
                            diff.DiffTriangleCountInQuads,
                            stat1.TriangleCountInQuads
                        )
                    )
                    .Within(1.0E-3))
  Expected: 9.0d +/- 0.001d
  But was:  900.0d
  Off by:   -891.0d

  11)   Assert.That(values[1], Is.EqualTo(GeometryDistributionNodeSt
Raw output
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

1)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 232
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

2)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 243
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

3)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 257
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

4)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 268
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

5)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 282
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 227

6)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsDiffTests.<>c__DisplayClass3_0.<UsingGeometryDistributionNodeStatDiff_GivenTwoGeometryDistributionNodeStatsInputs_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsDiffTests.cs:line 293
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDi

Check failure on line 1 in CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput

See this annotation in the file changed.

@azure-pipelines azure-pipelines / RvmSharp

CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput

Multiple failures or warnings in test:
  1)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInTorusSegments))
  Expected: 215600
  But was:  215

  2)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInNuts))
  Expected: 1512
  But was:  1

  3)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInGeneralRings))
  Expected: 7000
  But was:  7

  4)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInCones))
  Expected: 16800
  But was:  16

  5)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInCircles))
  Expected: 1456
  But was:  1

  6)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInBoxes))
  Expected: 1176
  But was:  1

  7)   Assert.That(values[1], Is.EqualTo(stats.TriangleCountInEccentricCones))
  Expected: 4620
  But was:  4

  8)   Assert.That(values[1], Is.EqualTo(stats.SumTriangleCount))
  Expected: 248892
  But was:  248

Raw output
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

1)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 425
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

2)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 435
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

3)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 440
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

4)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 450
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

5)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 455
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

6)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput>b__0() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 460
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.UsingGeometryDistributionNodeStats_GivenVaryingInputGeometry_VerifyPrintStatisticsOutput() in D:\a\1\s\CadRevealComposer.Tests\Utils\GeometryDistributionNodeStatsTests.cs:line 405

7)    at CadRevealComposer.Tests.Utils.GeometryDistributionNodeStatsTests.<>c__DisplayClass5_0.<UsingGeometryDistributionNodeStats_GivenVaryi