diff --git a/Common/UnitDefinitions/CoefficientOfThermalExpansion.json b/Common/UnitDefinitions/CoefficientOfThermalExpansion.json
index b861dab5e9..e96737307c 100644
--- a/Common/UnitDefinitions/CoefficientOfThermalExpansion.json
+++ b/Common/UnitDefinitions/CoefficientOfThermalExpansion.json
@@ -6,54 +6,6 @@
"Θ": -1
},
"Units": [
- {
- "SingularName": "InverseKelvin",
- "PluralName": "InverseKelvin",
- "ObsoleteText": "Use PerKelvin instead.",
- "BaseUnits": {
- "Θ": "Kelvin"
- },
- "FromUnitToBaseFunc": "{x}",
- "FromBaseToUnitFunc": "{x}",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "1/K" ]
- }
- ]
- },
- {
- "SingularName": "InverseDegreeCelsius",
- "PluralName": "InverseDegreeCelsius",
- "ObsoleteText": "Use PerDegreeCelsius instead.",
- "BaseUnits": {
- "Θ": "DegreeCelsius"
- },
- "FromUnitToBaseFunc": "{x}",
- "FromBaseToUnitFunc": "{x}",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "1/°C" ]
- }
- ]
- },
- {
- "SingularName": "InverseDegreeFahrenheit",
- "PluralName": "InverseDegreeFahrenheit",
- "ObsoleteText": "Use PerDegreeFahrenheit instead.",
- "BaseUnits": {
- "Θ": "DegreeFahrenheit"
- },
- "FromUnitToBaseFunc": "{x} * 9 / 5",
- "FromBaseToUnitFunc": "{x} * 5 / 9",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "1/°F" ]
- }
- ]
- },
{
"SingularName": "PerKelvin",
"PluralName": "PerKelvin",
diff --git a/Common/UnitDefinitions/HeatTransferCoefficient.json b/Common/UnitDefinitions/HeatTransferCoefficient.json
index 75db786ba7..a04241e7f2 100644
--- a/Common/UnitDefinitions/HeatTransferCoefficient.json
+++ b/Common/UnitDefinitions/HeatTransferCoefficient.json
@@ -32,19 +32,6 @@
}
]
},
- {
- "SingularName": "BtuPerSquareFootDegreeFahrenheit",
- "PluralName": "BtusPerSquareFootDegreeFahrenheit",
- "ObsoleteText": "The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead",
- "FromUnitToBaseFunc": "{x} * 5.6782633411134878",
- "FromBaseToUnitFunc": "{x} / 5.6782633411134878",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "Btu/ft²·°F" ]
- }
- ]
- },
{
"SingularName": "BtuPerHourSquareFootDegreeFahrenheit",
"PluralName": "BtusPerHourSquareFootDegreeFahrenheit",
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
index 7eb7f4995f..fb2d5e1a0a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
@@ -78,24 +78,6 @@ public CoefficientOfThermalExpansion(double value, CoefficientOfThermalExpansion
public static CoefficientOfThermalExpansion Zero { get; } = new CoefficientOfThermalExpansion(0, BaseUnit);
#region Conversion Properties
- ///
- /// Gets a value of this quantity converted into
- ///
- [Obsolete("Use PerDegreeCelsius instead.")]
- public double InverseDegreeCelsius => As(CoefficientOfThermalExpansionUnit.InverseDegreeCelsius);
-
- ///
- /// Gets a value of this quantity converted into
- ///
- [Obsolete("Use PerDegreeFahrenheit instead.")]
- public double InverseDegreeFahrenheit => As(CoefficientOfThermalExpansionUnit.InverseDegreeFahrenheit);
-
- ///
- /// Gets a value of this quantity converted into
- ///
- [Obsolete("Use PerKelvin instead.")]
- public double InverseKelvin => As(CoefficientOfThermalExpansionUnit.InverseKelvin);
-
///
/// Gets a value of this quantity converted into
///
@@ -130,24 +112,6 @@ public CoefficientOfThermalExpansion(double value, CoefficientOfThermalExpansion
#region Static Factory Methods
- ///
- /// Creates a from .
- ///
- [Obsolete("Use PerDegreeCelsius instead.")]
- public static CoefficientOfThermalExpansion FromInverseDegreeCelsius(double inversedegreecelsius) => new CoefficientOfThermalExpansion(inversedegreecelsius, CoefficientOfThermalExpansionUnit.InverseDegreeCelsius);
-
- ///
- /// Creates a from .
- ///
- [Obsolete("Use PerDegreeFahrenheit instead.")]
- public static CoefficientOfThermalExpansion FromInverseDegreeFahrenheit(double inversedegreefahrenheit) => new CoefficientOfThermalExpansion(inversedegreefahrenheit, CoefficientOfThermalExpansionUnit.InverseDegreeFahrenheit);
-
- ///
- /// Creates a from .
- ///
- [Obsolete("Use PerKelvin instead.")]
- public static CoefficientOfThermalExpansion FromInverseKelvin(double inversekelvin) => new CoefficientOfThermalExpansion(inversekelvin, CoefficientOfThermalExpansionUnit.InverseKelvin);
-
///
/// Creates a from .
///
@@ -218,9 +182,6 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- CoefficientOfThermalExpansionUnit.InverseDegreeCelsius => _value,
- CoefficientOfThermalExpansionUnit.InverseDegreeFahrenheit => _value * 9 / 5,
- CoefficientOfThermalExpansionUnit.InverseKelvin => _value,
CoefficientOfThermalExpansionUnit.PerDegreeCelsius => _value,
CoefficientOfThermalExpansionUnit.PerDegreeFahrenheit => _value * 9 / 5,
CoefficientOfThermalExpansionUnit.PerKelvin => _value,
@@ -240,9 +201,6 @@ private double GetValueAs(CoefficientOfThermalExpansionUnit unit)
return unit switch
{
- CoefficientOfThermalExpansionUnit.InverseDegreeCelsius => baseUnitValue,
- CoefficientOfThermalExpansionUnit.InverseDegreeFahrenheit => baseUnitValue * 5 / 9,
- CoefficientOfThermalExpansionUnit.InverseKelvin => baseUnitValue,
CoefficientOfThermalExpansionUnit.PerDegreeCelsius => baseUnitValue,
CoefficientOfThermalExpansionUnit.PerDegreeFahrenheit => baseUnitValue * 5 / 9,
CoefficientOfThermalExpansionUnit.PerKelvin => baseUnitValue,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
index b42f1cd23e..6cf7d5450a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
@@ -83,12 +83,6 @@ public HeatTransferCoefficient(double value, HeatTransferCoefficientUnit unit)
///
public double BtusPerHourSquareFootDegreeFahrenheit => As(HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit);
- ///
- /// Gets a value of this quantity converted into
- ///
- [Obsolete("The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead")]
- public double BtusPerSquareFootDegreeFahrenheit => As(HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit);
-
///
/// Gets a value of this quantity converted into
///
@@ -118,12 +112,6 @@ public HeatTransferCoefficient(double value, HeatTransferCoefficientUnit unit)
///
public static HeatTransferCoefficient FromBtusPerHourSquareFootDegreeFahrenheit(double btusperhoursquarefootdegreefahrenheit) => new HeatTransferCoefficient(btusperhoursquarefootdegreefahrenheit, HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit);
- ///
- /// Creates a from .
- ///
- [Obsolete("The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead")]
- public static HeatTransferCoefficient FromBtusPerSquareFootDegreeFahrenheit(double btuspersquarefootdegreefahrenheit) => new HeatTransferCoefficient(btuspersquarefootdegreefahrenheit, HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit);
-
///
/// Creates a from .
///
@@ -185,7 +173,6 @@ private double GetValueInBaseUnit()
return Unit switch
{
HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => _value * 5.6782633411134878,
- HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => _value * 5.6782633411134878,
HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (_value * 4.1868) / 3600,
HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((_value * 4.1868) / 3600) * 1e3d,
HeatTransferCoefficientUnit.WattPerSquareMeterCelsius => _value,
@@ -204,7 +191,6 @@ private double GetValueAs(HeatTransferCoefficientUnit unit)
return unit switch
{
HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => baseUnitValue / 5.6782633411134878,
- HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => baseUnitValue / 5.6782633411134878,
HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (baseUnitValue / 4.1868) * 3600,
HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((baseUnitValue / 4.1868) * 3600) / 1e3d,
HeatTransferCoefficientUnit.WattPerSquareMeterCelsius => baseUnitValue,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/CoefficientOfThermalExpansionUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/CoefficientOfThermalExpansionUnit.g.cs
index 79748b807b..258f5065da 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/CoefficientOfThermalExpansionUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/CoefficientOfThermalExpansionUnit.g.cs
@@ -25,12 +25,6 @@ namespace UnitsNet.Units
public enum CoefficientOfThermalExpansionUnit
{
- [System.Obsolete("Use PerDegreeCelsius instead.")]
- InverseDegreeCelsius = 1,
- [System.Obsolete("Use PerDegreeFahrenheit instead.")]
- InverseDegreeFahrenheit = 2,
- [System.Obsolete("Use PerKelvin instead.")]
- InverseKelvin = 3,
PerDegreeCelsius = 9,
PerDegreeFahrenheit = 11,
PerKelvin = 13,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs
index beaabc3f3b..1a52bffbfe 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs
@@ -26,8 +26,6 @@ namespace UnitsNet.Units
public enum HeatTransferCoefficientUnit
{
BtuPerHourSquareFootDegreeFahrenheit = 11,
- [System.Obsolete("The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead")]
- BtuPerSquareFootDegreeFahrenheit = 1,
CaloriePerHourSquareMeterDegreeCelsius = 5,
KilocaloriePerHourSquareMeterDegreeCelsius = 8,
WattPerSquareMeterCelsius = 2,
diff --git a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensionsTest.g.cs b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensionsTest.g.cs
index 880508b3ee..fa8854e062 100644
--- a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensionsTest.g.cs
+++ b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensionsTest.g.cs
@@ -24,18 +24,6 @@ namespace UnitsNet.Tests
{
public class NumberToCoefficientOfThermalExpansionExtensionsTests
{
- [Fact]
- public void NumberToInverseDegreeCelsiusTest() =>
- Assert.Equal(CoefficientOfThermalExpansion.FromInverseDegreeCelsius(2), 2.InverseDegreeCelsius());
-
- [Fact]
- public void NumberToInverseDegreeFahrenheitTest() =>
- Assert.Equal(CoefficientOfThermalExpansion.FromInverseDegreeFahrenheit(2), 2.InverseDegreeFahrenheit());
-
- [Fact]
- public void NumberToInverseKelvinTest() =>
- Assert.Equal(CoefficientOfThermalExpansion.FromInverseKelvin(2), 2.InverseKelvin());
-
[Fact]
public void NumberToPerDegreeCelsiusTest() =>
Assert.Equal(CoefficientOfThermalExpansion.FromPerDegreeCelsius(2), 2.PerDegreeCelsius());
diff --git a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToHeatTransferCoefficientExtensionsTest.g.cs b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToHeatTransferCoefficientExtensionsTest.g.cs
index 9f317e64d2..fb4878717d 100644
--- a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToHeatTransferCoefficientExtensionsTest.g.cs
+++ b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToHeatTransferCoefficientExtensionsTest.g.cs
@@ -28,10 +28,6 @@ public class NumberToHeatTransferCoefficientExtensionsTests
public void NumberToBtusPerHourSquareFootDegreeFahrenheitTest() =>
Assert.Equal(HeatTransferCoefficient.FromBtusPerHourSquareFootDegreeFahrenheit(2), 2.BtusPerHourSquareFootDegreeFahrenheit());
- [Fact]
- public void NumberToBtusPerSquareFootDegreeFahrenheitTest() =>
- Assert.Equal(HeatTransferCoefficient.FromBtusPerSquareFootDegreeFahrenheit(2), 2.BtusPerSquareFootDegreeFahrenheit());
-
[Fact]
public void NumberToCaloriesPerHourSquareMeterDegreeCelsiusTest() =>
Assert.Equal(HeatTransferCoefficient.FromCaloriesPerHourSquareMeterDegreeCelsius(2), 2.CaloriesPerHourSquareMeterDegreeCelsius());
diff --git a/UnitsNet.NumberExtensions/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensions.g.cs b/UnitsNet.NumberExtensions/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensions.g.cs
index ad0f6b2bc5..22adc70a09 100644
--- a/UnitsNet.NumberExtensions/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensions.g.cs
+++ b/UnitsNet.NumberExtensions/GeneratedCode/NumberToCoefficientOfThermalExpansionExtensions.g.cs
@@ -32,33 +32,6 @@ namespace UnitsNet.NumberExtensions.NumberToCoefficientOfThermalExpansion
///
public static class NumberToCoefficientOfThermalExpansionExtensions
{
- ///
- [Obsolete("Use PerDegreeCelsius instead.")]
- public static CoefficientOfThermalExpansion InverseDegreeCelsius(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => CoefficientOfThermalExpansion.FromInverseDegreeCelsius(Convert.ToDouble(value));
-
- ///
- [Obsolete("Use PerDegreeFahrenheit instead.")]
- public static CoefficientOfThermalExpansion InverseDegreeFahrenheit(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => CoefficientOfThermalExpansion.FromInverseDegreeFahrenheit(Convert.ToDouble(value));
-
- ///
- [Obsolete("Use PerKelvin instead.")]
- public static CoefficientOfThermalExpansion InverseKelvin(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => CoefficientOfThermalExpansion.FromInverseKelvin(Convert.ToDouble(value));
-
///
public static CoefficientOfThermalExpansion PerDegreeCelsius(this T value)
where T : notnull
diff --git a/UnitsNet.NumberExtensions/GeneratedCode/NumberToHeatTransferCoefficientExtensions.g.cs b/UnitsNet.NumberExtensions/GeneratedCode/NumberToHeatTransferCoefficientExtensions.g.cs
index d53c217c5f..477658707c 100644
--- a/UnitsNet.NumberExtensions/GeneratedCode/NumberToHeatTransferCoefficientExtensions.g.cs
+++ b/UnitsNet.NumberExtensions/GeneratedCode/NumberToHeatTransferCoefficientExtensions.g.cs
@@ -40,15 +40,6 @@ public static HeatTransferCoefficient BtusPerHourSquareFootDegreeFahrenheit(t
#endif
=> HeatTransferCoefficient.FromBtusPerHourSquareFootDegreeFahrenheit(Convert.ToDouble(value));
- ///
- [Obsolete("The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead")]
- public static HeatTransferCoefficient BtusPerSquareFootDegreeFahrenheit(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => HeatTransferCoefficient.FromBtusPerSquareFootDegreeFahrenheit(Convert.ToDouble(value));
-
///
public static HeatTransferCoefficient CaloriesPerHourSquareMeterDegreeCelsius(this T value)
where T : notnull
diff --git a/UnitsNet.Tests/CustomCode/CoefficientOfThermalExpansionTests.cs b/UnitsNet.Tests/CustomCode/CoefficientOfThermalExpansionTests.cs
index 4e43ec261e..6199c7f658 100644
--- a/UnitsNet.Tests/CustomCode/CoefficientOfThermalExpansionTests.cs
+++ b/UnitsNet.Tests/CustomCode/CoefficientOfThermalExpansionTests.cs
@@ -29,12 +29,6 @@ public class CoefficientOfThermalExpansionTests : CoefficientOfThermalExpansionT
{
protected override bool SupportsSIUnitSystem => true;
- protected override double InverseDegreeCelsiusInOnePerKelvin => 1.0;
-
- protected override double InverseDegreeFahrenheitInOnePerKelvin => 0.5555555555555556;
-
- protected override double InverseKelvinInOnePerKelvin => 1.0;
-
protected override double PerDegreeCelsiusInOnePerKelvin => 1.0;
protected override double PerDegreeFahrenheitInOnePerKelvin => 0.5555555555555556;
@@ -52,7 +46,7 @@ public void CoefficientOfThermalExpansionTimesTemperatureDelta()
{
double temperatureDeltaDegC = 2.0;
double ctePerDegC = 0.001;
- CoefficientOfThermalExpansion cte = CoefficientOfThermalExpansion.FromInverseDegreeCelsius(ctePerDegC);
+ CoefficientOfThermalExpansion cte = CoefficientOfThermalExpansion.FromPerDegreeCelsius(ctePerDegC);
TemperatureDelta dT = TemperatureDelta.FromDegreesCelsius(temperatureDeltaDegC);
AssertEx.EqualTolerance(cte * dT, ctePerDegC * temperatureDeltaDegC, 1e-10);
}
@@ -62,7 +56,7 @@ public void TemperatureDeltaTimesCoefficientOfThermalExpansion()
{
double temperatureDeltaDegC = 2.0;
double ctePerDegC = 0.001;
- CoefficientOfThermalExpansion cte = CoefficientOfThermalExpansion.FromInverseDegreeCelsius(ctePerDegC);
+ CoefficientOfThermalExpansion cte = CoefficientOfThermalExpansion.FromPerDegreeCelsius(ctePerDegC);
TemperatureDelta dT = TemperatureDelta.FromDegreesCelsius(temperatureDeltaDegC);
AssertEx.EqualTolerance(dT * cte, temperatureDeltaDegC * ctePerDegC, 1e-10);
}
diff --git a/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs b/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
index ab1846a381..1e67ece931 100644
--- a/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
+++ b/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
@@ -32,7 +32,6 @@ public class HeatTransferCoefficientTests : HeatTransferCoefficientTestsBase
protected override double WattsPerSquareMeterKelvinInOneWattPerSquareMeterKelvin => 1;
protected override double BtusPerHourSquareFootDegreeFahrenheitInOneWattPerSquareMeterKelvin => 1.7611018368230584e-1;
protected override double KilocaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 0.859845227859;
- protected override double BtusPerSquareFootDegreeFahrenheitInOneWattPerSquareMeterKelvin => 1.7611018368230584e-1;
protected override double CaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 859.845227859;
}
}
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
index 9f12014fbd..b3dc60110f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
@@ -38,9 +38,6 @@ namespace UnitsNet.Tests
// ReSharper disable once PartialTypeWithSinglePart
public abstract partial class CoefficientOfThermalExpansionTestsBase : QuantityTestsBase
{
- protected abstract double InverseDegreeCelsiusInOnePerKelvin { get; }
- protected abstract double InverseDegreeFahrenheitInOnePerKelvin { get; }
- protected abstract double InverseKelvinInOnePerKelvin { get; }
protected abstract double PerDegreeCelsiusInOnePerKelvin { get; }
protected abstract double PerDegreeFahrenheitInOnePerKelvin { get; }
protected abstract double PerKelvinInOnePerKelvin { get; }
@@ -49,9 +46,6 @@ public abstract partial class CoefficientOfThermalExpansionTestsBase : QuantityT
protected abstract double PpmPerKelvinInOnePerKelvin { get; }
// ReSharper disable VirtualMemberNeverOverriden.Global
- protected virtual double InverseDegreeCelsiusTolerance { get { return 1e-5; } }
- protected virtual double InverseDegreeFahrenheitTolerance { get { return 1e-5; } }
- protected virtual double InverseKelvinTolerance { get { return 1e-5; } }
protected virtual double PerDegreeCelsiusTolerance { get { return 1e-5; } }
protected virtual double PerDegreeFahrenheitTolerance { get { return 1e-5; } }
protected virtual double PerKelvinTolerance { get { return 1e-5; } }
@@ -64,9 +58,6 @@ public abstract partial class CoefficientOfThermalExpansionTestsBase : QuantityT
{
return unit switch
{
- CoefficientOfThermalExpansionUnit.InverseDegreeCelsius => (InverseDegreeCelsiusInOnePerKelvin, InverseDegreeCelsiusTolerance),
- CoefficientOfThermalExpansionUnit.InverseDegreeFahrenheit => (InverseDegreeFahrenheitInOnePerKelvin, InverseDegreeFahrenheitTolerance),
- CoefficientOfThermalExpansionUnit.InverseKelvin => (InverseKelvinInOnePerKelvin, InverseKelvinTolerance),
CoefficientOfThermalExpansionUnit.PerDegreeCelsius => (PerDegreeCelsiusInOnePerKelvin, PerDegreeCelsiusTolerance),
CoefficientOfThermalExpansionUnit.PerDegreeFahrenheit => (PerDegreeFahrenheitInOnePerKelvin, PerDegreeFahrenheitTolerance),
CoefficientOfThermalExpansionUnit.PerKelvin => (PerKelvinInOnePerKelvin, PerKelvinTolerance),
@@ -79,9 +70,6 @@ public abstract partial class CoefficientOfThermalExpansionTestsBase : QuantityT
public static IEnumerable