Improve precision of PR 1334 #1335
Build #PR_2023.12.06.001 had test failures
Details
- 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
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
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
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
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)
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
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
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)
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)