Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve precision of PR 1334 #1335

Merged
merged 1 commit into from
Dec 6, 2023

Improve precision of PR 1334

47b38b4
Select commit
Loading
Failed to load commit list.
Merged

Improve precision of PR 1334 #1335

Improve precision of PR 1334
47b38b4
Select commit
Loading
Failed to load commit list.
Azure Pipelines / UnitsNet PR failed Dec 6, 2023 in 7m 27s

Build #PR_2023.12.06.001 had test failures

Details

Tests

  • Failed: 8 (0.03%)
  • Passed: 29,858 (99.87%)
  • Other: 30 (0.10%)
  • Total: 29,896

Annotations

Check failure on line 3105 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

Build log #L3105

[xUnit.net 00:00:11.39]     UnitsNet.Tests.DensityTests.ToUnit(unit: PoundPerCubicYard) [FAIL]

Check failure on line 3119 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

Build log #L3119

[xUnit.net 00:00:11.39]     UnitsNet.Tests.DensityTests.ToUnit(unit: KilopoundPerCubicYard) [FAIL]

Check failure on line 3133 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

Build log #L3133

[xUnit.net 00:00:11.53]     UnitsNet.Tests.DensityTests.As [FAIL]

Check failure on line 3147 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

Build log #L3147

[xUnit.net 00:00:11.63]     UnitsNet.Tests.DensityTests.KilogramPerCubicMeterToDensityUnits [FAIL]

Check failure on line 1 in UnitsNet.Tests.DensityTests.ToUnit(unit: KilopoundPerCubicYard)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

UnitsNet.Tests.DensityTests.ToUnit(unit: KilopoundPerCubicYard)

Values are not equal within relative tolerance: 0.0010%
Expected: 0.0016855549356
Actual: 0.000593276421257783
Diff: 64.8023%
Expected: True
Actual:   False
Raw output
   at UnitsNet.Tests.AssertEx.EqualTolerance(Double expected, Double actual, Double tolerance, ComparisonType comparisonType) in /_/UnitsNet.Tests/AssertEx.cs:line 20
   at UnitsNet.Tests.DensityTestsBase.ToUnit(DensityUnit unit) in /_/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs:line 2188
   at InvokeStub_DensityTestsBase.ToUnit(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 1 in UnitsNet.Tests.DensityTests.As

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

UnitsNet.Tests.DensityTests.As

Values are not equal within relative tolerance: 0.0010%
Expected: 0.0016855549356
Actual: 0.000593276421257783
Diff: 64.8023%
Expected: True
Actual:   False
Raw output
   at UnitsNet.Tests.AssertEx.EqualTolerance(Double expected, Double actual, Double tolerance, ComparisonType comparisonType) in /_/UnitsNet.Tests/AssertEx.cs:line 20
   at UnitsNet.Tests.DensityTestsBase.As() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs:line 668
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 1 in UnitsNet.Tests.DensityTests.KilogramPerCubicMeterToDensityUnits

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

UnitsNet.Tests.DensityTests.KilogramPerCubicMeterToDensityUnits

Values are not equal within relative tolerance: 0.0010%
Expected: 0.0016855549356
Actual: 0.000593276421257783
Diff: 64.8023%
Expected: True
Actual:   False
Raw output
   at UnitsNet.Tests.AssertEx.EqualTolerance(Double expected, Double actual, Double tolerance, ComparisonType comparisonType) in /_/UnitsNet.Tests/AssertEx.cs:line 20
   at UnitsNet.Tests.DensityTestsBase.KilogramPerCubicMeterToDensityUnits() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs:line 364
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 1 in UnitsNet.Tests.DensityTests.ToUnit(unit: PoundPerCubicYard)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / UnitsNet PR

UnitsNet.Tests.DensityTests.ToUnit(unit: PoundPerCubicYard)

Values are not equal within relative tolerance: 0.0010%
Expected: 1.6855549356
Actual: 0.593276421257783
Diff: 64.8023%
Expected: True
Actual:   False
Raw output
   at UnitsNet.Tests.AssertEx.EqualTolerance(Double expected, Double actual, Double tolerance, ComparisonType comparisonType) in /_/UnitsNet.Tests/AssertEx.cs:line 20
   at UnitsNet.Tests.DensityTestsBase.ToUnit(DensityUnit unit) in /_/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs:line 2188
   at InvokeStub_DensityTestsBase.ToUnit(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)