Add NumberConcentration
unit
#1409
Build #PR_2024.07.11.001 had test failures
Details
- Failed: 4 (0.01%)
- Passed: 31,024 (99.89%)
- Other: 30 (0.10%)
- Total: 31,058
Annotations
Check failure on line 3219 in Build log
azure-pipelines / UnitsNet PR
Build log #L3219
[xUnit.net 00:00:22.43] UnitsNet.Tests.CustomCode.NumberConcentrationTests.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported [FAIL]
Check failure on line 3229 in Build log
azure-pipelines / UnitsNet PR
Build log #L3229
[xUnit.net 00:00:22.47] UnitsNet.Tests.CustomCode.NumberConcentrationTests.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported [FAIL]
Check failure on line 3278 in Build log
azure-pipelines / UnitsNet PR
Build log #L3278
[xUnit.net 00:00:57.11] UnitsNet.Tests.CustomCode.NumberConcentrationTests.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported [FAIL]
Check failure on line 3287 in Build log
azure-pipelines / UnitsNet PR
Build log #L3287
[xUnit.net 00:00:57.57] UnitsNet.Tests.CustomCode.NumberConcentrationTests.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported [FAIL]
azure-pipelines / UnitsNet PR
UnitsNet.Tests.CustomCode.NumberConcentrationTests.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported
System.ArgumentException : No units were found for the given UnitSystem. (Parameter 'unitSystem')
Raw output
at UnitsNet.NumberConcentration.As(UnitSystem unitSystem) in /_/UnitsNet/GeneratedCode/Quantities/NumberConcentration.g.cs:line 698
at UnitsNet.Tests.NumberConcentrationTestsBase.<>c__DisplayClass29_0.<As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported>b__0() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 187
at UnitsNet.Tests.NumberConcentrationTestsBase.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 191
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
azure-pipelines / UnitsNet PR
UnitsNet.Tests.CustomCode.NumberConcentrationTests.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported
System.ArgumentException : No units were found for the given UnitSystem. (Parameter 'unitSystem')
Raw output
at UnitsNet.NumberConcentration..ctor(Double value, UnitSystem unitSystem) in /_/UnitsNet/GeneratedCode/Quantities/NumberConcentration.g.cs:line 109
at UnitsNet.Tests.NumberConcentrationTestsBase.<>c.<Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported>b__22_0() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 103
at UnitsNet.Tests.NumberConcentrationTestsBase.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 106
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
azure-pipelines / UnitsNet PR
UnitsNet.Tests.CustomCode.NumberConcentrationTests.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported
System.ArgumentException : No units were found for the given UnitSystem.
Parameter name: unitSystem
Raw output
at UnitsNet.NumberConcentration.As(UnitSystem unitSystem) in /_/UnitsNet/GeneratedCode/Quantities/NumberConcentration.g.cs:line 698
at UnitsNet.Tests.NumberConcentrationTestsBase.<>c__DisplayClass29_0.<As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported>b__0() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 187
at UnitsNet.Tests.NumberConcentrationTestsBase.As_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 189
azure-pipelines / UnitsNet PR
UnitsNet.Tests.CustomCode.NumberConcentrationTests.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported
System.ArgumentException : No units were found for the given UnitSystem.
Parameter name: unitSystem
Raw output
at UnitsNet.NumberConcentration..ctor(Double value, UnitSystem unitSystem) in /_/UnitsNet/GeneratedCode/Quantities/NumberConcentration.g.cs:line 109
at UnitsNet.Tests.NumberConcentrationTestsBase.<>c.<Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported>b__22_0() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 103
at UnitsNet.Tests.NumberConcentrationTestsBase.Ctor_SIUnitSystem_ThrowsArgumentExceptionIfNotSupported() in /_/UnitsNet.Tests/GeneratedCode/TestsBase/NumberConcentrationTestsBase.g.cs:line 106