diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
index 7af79a14c9..6020947d7c 100644
--- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
+++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
@@ -852,7 +852,7 @@ public bool Equals({_quantity.Name} other, {_quantity.ValueType} tolerance, Comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}}
///
diff --git a/CodeGen/Generators/UnitsNetGen/UnitTestBaseClassGenerator.cs b/CodeGen/Generators/UnitsNetGen/UnitTestBaseClassGenerator.cs
index 02313ea6dd..885d8a22d8 100644
--- a/CodeGen/Generators/UnitsNetGen/UnitTestBaseClassGenerator.cs
+++ b/CodeGen/Generators/UnitsNetGen/UnitTestBaseClassGenerator.cs
@@ -553,6 +553,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = {_quantity.Name}.From{_baseUnit.PluralName}(1);
Assert.True(v.Equals({_quantity.Name}.From{_baseUnit.PluralName}(1), {_baseUnit.PluralName}Tolerance, ComparisonType.Relative));
Assert.False(v.Equals({_quantity.Name}.Zero, {_baseUnit.PluralName}Tolerance, ComparisonType.Relative));
+ Assert.True({_quantity.Name}.From{_baseUnit.PluralName}(100).Equals({_quantity.Name}.From{_baseUnit.PluralName}(120), ({_quantity.ValueType})0.3m, ComparisonType.Relative));
+ Assert.False({_quantity.Name}.From{_baseUnit.PluralName}(100).Equals({_quantity.Name}.From{_baseUnit.PluralName}(120), ({_quantity.ValueType})0.1m, ComparisonType.Relative));
}}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AbsorbedDoseOfIonizingRadiationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AbsorbedDoseOfIonizingRadiationTestsBase.g.cs
index 55c8e33bce..7ed2518d99 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AbsorbedDoseOfIonizingRadiationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AbsorbedDoseOfIonizingRadiationTestsBase.g.cs
@@ -1137,6 +1137,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = AbsorbedDoseOfIonizingRadiation.FromGrays(1);
Assert.True(v.Equals(AbsorbedDoseOfIonizingRadiation.FromGrays(1), GraysTolerance, ComparisonType.Relative));
Assert.False(v.Equals(AbsorbedDoseOfIonizingRadiation.Zero, GraysTolerance, ComparisonType.Relative));
+ Assert.True(AbsorbedDoseOfIonizingRadiation.FromGrays(100).Equals(AbsorbedDoseOfIonizingRadiation.FromGrays(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(AbsorbedDoseOfIonizingRadiation.FromGrays(100).Equals(AbsorbedDoseOfIonizingRadiation.FromGrays(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AccelerationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AccelerationTestsBase.g.cs
index 8016edae40..02cbbc09f7 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AccelerationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AccelerationTestsBase.g.cs
@@ -1151,6 +1151,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Acceleration.FromMetersPerSecondSquared(1);
Assert.True(v.Equals(Acceleration.FromMetersPerSecondSquared(1), MetersPerSecondSquaredTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Acceleration.Zero, MetersPerSecondSquaredTolerance, ComparisonType.Relative));
+ Assert.True(Acceleration.FromMetersPerSecondSquared(100).Equals(Acceleration.FromMetersPerSecondSquared(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Acceleration.FromMetersPerSecondSquared(100).Equals(Acceleration.FromMetersPerSecondSquared(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AmountOfSubstanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AmountOfSubstanceTestsBase.g.cs
index b32b6bcc56..aef3e43809 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AmountOfSubstanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AmountOfSubstanceTestsBase.g.cs
@@ -898,6 +898,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = AmountOfSubstance.FromMoles(1);
Assert.True(v.Equals(AmountOfSubstance.FromMoles(1), MolesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(AmountOfSubstance.Zero, MolesTolerance, ComparisonType.Relative));
+ Assert.True(AmountOfSubstance.FromMoles(100).Equals(AmountOfSubstance.FromMoles(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(AmountOfSubstance.FromMoles(100).Equals(AmountOfSubstance.FromMoles(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AmplitudeRatioTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AmplitudeRatioTestsBase.g.cs
index 8c8d952df2..612946c8af 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AmplitudeRatioTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AmplitudeRatioTestsBase.g.cs
@@ -469,6 +469,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = AmplitudeRatio.FromDecibelVolts(1);
Assert.True(v.Equals(AmplitudeRatio.FromDecibelVolts(1), DecibelVoltsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(AmplitudeRatio.Zero, DecibelVoltsTolerance, ComparisonType.Relative));
+ Assert.True(AmplitudeRatio.FromDecibelVolts(100).Equals(AmplitudeRatio.FromDecibelVolts(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(AmplitudeRatio.FromDecibelVolts(100).Equals(AmplitudeRatio.FromDecibelVolts(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AngleTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AngleTestsBase.g.cs
index 41ad0ce776..07e0760bc2 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AngleTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AngleTestsBase.g.cs
@@ -1413,6 +1413,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Angle.FromDegrees(1);
Assert.True(v.Equals(Angle.FromDegrees(1), DegreesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Angle.Zero, DegreesTolerance, ComparisonType.Relative));
+ Assert.True(Angle.FromDegrees(100).Equals(Angle.FromDegrees(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Angle.FromDegrees(100).Equals(Angle.FromDegrees(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentEnergyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentEnergyTestsBase.g.cs
index 517fd696e6..386a914803 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentEnergyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentEnergyTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ApparentEnergy.FromVoltampereHours(1);
Assert.True(v.Equals(ApparentEnergy.FromVoltampereHours(1), VoltampereHoursTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ApparentEnergy.Zero, VoltampereHoursTolerance, ComparisonType.Relative));
+ Assert.True(ApparentEnergy.FromVoltampereHours(100).Equals(ApparentEnergy.FromVoltampereHours(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ApparentEnergy.FromVoltampereHours(100).Equals(ApparentEnergy.FromVoltampereHours(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentPowerTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentPowerTestsBase.g.cs
index c837d97039..3467d96ef8 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentPowerTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ApparentPowerTestsBase.g.cs
@@ -513,6 +513,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ApparentPower.FromVoltamperes(1);
Assert.True(v.Equals(ApparentPower.FromVoltamperes(1), VoltamperesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ApparentPower.Zero, VoltamperesTolerance, ComparisonType.Relative));
+ Assert.True(ApparentPower.FromVoltamperes(100).Equals(ApparentPower.FromVoltamperes(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ApparentPower.FromVoltamperes(100).Equals(ApparentPower.FromVoltamperes(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaDensityTestsBase.g.cs
index 7a52efb886..3fe059f15f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaDensityTestsBase.g.cs
@@ -454,6 +454,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = AreaDensity.FromKilogramsPerSquareMeter(1);
Assert.True(v.Equals(AreaDensity.FromKilogramsPerSquareMeter(1), KilogramsPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(AreaDensity.Zero, KilogramsPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(AreaDensity.FromKilogramsPerSquareMeter(100).Equals(AreaDensity.FromKilogramsPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(AreaDensity.FromKilogramsPerSquareMeter(100).Equals(AreaDensity.FromKilogramsPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaMomentOfInertiaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaMomentOfInertiaTestsBase.g.cs
index baad089fb2..98bebe7468 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaMomentOfInertiaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaMomentOfInertiaTestsBase.g.cs
@@ -679,6 +679,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = AreaMomentOfInertia.FromMetersToTheFourth(1);
Assert.True(v.Equals(AreaMomentOfInertia.FromMetersToTheFourth(1), MetersToTheFourthTolerance, ComparisonType.Relative));
Assert.False(v.Equals(AreaMomentOfInertia.Zero, MetersToTheFourthTolerance, ComparisonType.Relative));
+ Assert.True(AreaMomentOfInertia.FromMetersToTheFourth(100).Equals(AreaMomentOfInertia.FromMetersToTheFourth(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(AreaMomentOfInertia.FromMetersToTheFourth(100).Equals(AreaMomentOfInertia.FromMetersToTheFourth(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaTestsBase.g.cs
index a03b6f082f..efd26222d3 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/AreaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/AreaTestsBase.g.cs
@@ -1441,6 +1441,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Area.FromSquareMeters(1);
Assert.True(v.Equals(Area.FromSquareMeters(1), SquareMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Area.Zero, SquareMetersTolerance, ComparisonType.Relative));
+ Assert.True(Area.FromSquareMeters(100).Equals(Area.FromSquareMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Area.FromSquareMeters(100).Equals(Area.FromSquareMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/BitRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/BitRateTestsBase.g.cs
index be62ba4cc7..df54680cd7 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/BitRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/BitRateTestsBase.g.cs
@@ -1522,6 +1522,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = BitRate.FromBitsPerSecond(1);
Assert.True(v.Equals(BitRate.FromBitsPerSecond(1), BitsPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(BitRate.Zero, BitsPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(BitRate.FromBitsPerSecond(100).Equals(BitRate.FromBitsPerSecond(120), (decimal)0.3m, ComparisonType.Relative));
+ Assert.False(BitRate.FromBitsPerSecond(100).Equals(BitRate.FromBitsPerSecond(120), (decimal)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/BrakeSpecificFuelConsumptionTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/BrakeSpecificFuelConsumptionTestsBase.g.cs
index 48160ebe70..8eb709013f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/BrakeSpecificFuelConsumptionTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/BrakeSpecificFuelConsumptionTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = BrakeSpecificFuelConsumption.FromKilogramsPerJoule(1);
Assert.True(v.Equals(BrakeSpecificFuelConsumption.FromKilogramsPerJoule(1), KilogramsPerJouleTolerance, ComparisonType.Relative));
Assert.False(v.Equals(BrakeSpecificFuelConsumption.Zero, KilogramsPerJouleTolerance, ComparisonType.Relative));
+ Assert.True(BrakeSpecificFuelConsumption.FromKilogramsPerJoule(100).Equals(BrakeSpecificFuelConsumption.FromKilogramsPerJoule(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(BrakeSpecificFuelConsumption.FromKilogramsPerJoule(100).Equals(BrakeSpecificFuelConsumption.FromKilogramsPerJoule(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/CapacitanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/CapacitanceTestsBase.g.cs
index f4c69001a6..ec0b0dbf9c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/CapacitanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/CapacitanceTestsBase.g.cs
@@ -548,6 +548,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Capacitance.FromFarads(1);
Assert.True(v.Equals(Capacitance.FromFarads(1), FaradsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Capacitance.Zero, FaradsTolerance, ComparisonType.Relative));
+ Assert.True(Capacitance.FromFarads(100).Equals(Capacitance.FromFarads(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Capacitance.FromFarads(100).Equals(Capacitance.FromFarads(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
index eb9c8774ac..b8802105db 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/CoefficientOfThermalExpansionTestsBase.g.cs
@@ -568,6 +568,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = CoefficientOfThermalExpansion.FromPerKelvin(1);
Assert.True(v.Equals(CoefficientOfThermalExpansion.FromPerKelvin(1), PerKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(CoefficientOfThermalExpansion.Zero, PerKelvinTolerance, ComparisonType.Relative));
+ Assert.True(CoefficientOfThermalExpansion.FromPerKelvin(100).Equals(CoefficientOfThermalExpansion.FromPerKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(CoefficientOfThermalExpansion.FromPerKelvin(100).Equals(CoefficientOfThermalExpansion.FromPerKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/CompressibilityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/CompressibilityTestsBase.g.cs
index cd16c66174..2b36d21819 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/CompressibilityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/CompressibilityTestsBase.g.cs
@@ -738,6 +738,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Compressibility.FromInversePascals(1);
Assert.True(v.Equals(Compressibility.FromInversePascals(1), InversePascalsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Compressibility.Zero, InversePascalsTolerance, ComparisonType.Relative));
+ Assert.True(Compressibility.FromInversePascals(100).Equals(Compressibility.FromInversePascals(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Compressibility.FromInversePascals(100).Equals(Compressibility.FromInversePascals(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs
index 9d12072063..a5c1131b2c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/DensityTestsBase.g.cs
@@ -2381,6 +2381,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Density.FromKilogramsPerCubicMeter(1);
Assert.True(v.Equals(Density.FromKilogramsPerCubicMeter(1), KilogramsPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Density.Zero, KilogramsPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(Density.FromKilogramsPerCubicMeter(100).Equals(Density.FromKilogramsPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Density.FromKilogramsPerCubicMeter(100).Equals(Density.FromKilogramsPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/DurationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/DurationTestsBase.g.cs
index f894a93107..7447b44161 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/DurationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/DurationTestsBase.g.cs
@@ -1886,6 +1886,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Duration.FromSeconds(1);
Assert.True(v.Equals(Duration.FromSeconds(1), SecondsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Duration.Zero, SecondsTolerance, ComparisonType.Relative));
+ Assert.True(Duration.FromSeconds(100).Equals(Duration.FromSeconds(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Duration.FromSeconds(100).Equals(Duration.FromSeconds(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/DynamicViscosityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/DynamicViscosityTestsBase.g.cs
index dd8bc8d531..46d89f0204 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/DynamicViscosityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/DynamicViscosityTestsBase.g.cs
@@ -747,6 +747,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = DynamicViscosity.FromNewtonSecondsPerMeterSquared(1);
Assert.True(v.Equals(DynamicViscosity.FromNewtonSecondsPerMeterSquared(1), NewtonSecondsPerMeterSquaredTolerance, ComparisonType.Relative));
Assert.False(v.Equals(DynamicViscosity.Zero, NewtonSecondsPerMeterSquaredTolerance, ComparisonType.Relative));
+ Assert.True(DynamicViscosity.FromNewtonSecondsPerMeterSquared(100).Equals(DynamicViscosity.FromNewtonSecondsPerMeterSquared(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(DynamicViscosity.FromNewtonSecondsPerMeterSquared(100).Equals(DynamicViscosity.FromNewtonSecondsPerMeterSquared(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricAdmittanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricAdmittanceTestsBase.g.cs
index b38c2598ff..ce8176b2c5 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricAdmittanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricAdmittanceTestsBase.g.cs
@@ -465,6 +465,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricAdmittance.FromSiemens(1);
Assert.True(v.Equals(ElectricAdmittance.FromSiemens(1), SiemensTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricAdmittance.Zero, SiemensTolerance, ComparisonType.Relative));
+ Assert.True(ElectricAdmittance.FromSiemens(100).Equals(ElectricAdmittance.FromSiemens(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricAdmittance.FromSiemens(100).Equals(ElectricAdmittance.FromSiemens(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeDensityTestsBase.g.cs
index 0633765b22..590983ef27 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeDensityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricChargeDensity.FromCoulombsPerCubicMeter(1);
Assert.True(v.Equals(ElectricChargeDensity.FromCoulombsPerCubicMeter(1), CoulombsPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricChargeDensity.Zero, CoulombsPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(ElectricChargeDensity.FromCoulombsPerCubicMeter(100).Equals(ElectricChargeDensity.FromCoulombsPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricChargeDensity.FromCoulombsPerCubicMeter(100).Equals(ElectricChargeDensity.FromCoulombsPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeTestsBase.g.cs
index 0307409152..b1a5c0c8e4 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricChargeTestsBase.g.cs
@@ -740,6 +740,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricCharge.FromCoulombs(1);
Assert.True(v.Equals(ElectricCharge.FromCoulombs(1), CoulombsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricCharge.Zero, CoulombsTolerance, ComparisonType.Relative));
+ Assert.True(ElectricCharge.FromCoulombs(100).Equals(ElectricCharge.FromCoulombs(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricCharge.FromCoulombs(100).Equals(ElectricCharge.FromCoulombs(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductanceTestsBase.g.cs
index 5c9c9a2388..f637bc1b22 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductanceTestsBase.g.cs
@@ -500,6 +500,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricConductance.FromSiemens(1);
Assert.True(v.Equals(ElectricConductance.FromSiemens(1), SiemensTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricConductance.Zero, SiemensTolerance, ComparisonType.Relative));
+ Assert.True(ElectricConductance.FromSiemens(100).Equals(ElectricConductance.FromSiemens(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricConductance.FromSiemens(100).Equals(ElectricConductance.FromSiemens(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductivityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductivityTestsBase.g.cs
index 5495b54c60..96ea7bb4cf 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductivityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricConductivityTestsBase.g.cs
@@ -535,6 +535,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricConductivity.FromSiemensPerMeter(1);
Assert.True(v.Equals(ElectricConductivity.FromSiemensPerMeter(1), SiemensPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricConductivity.Zero, SiemensPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(ElectricConductivity.FromSiemensPerMeter(100).Equals(ElectricConductivity.FromSiemensPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricConductivity.FromSiemensPerMeter(100).Equals(ElectricConductivity.FromSiemensPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentDensityTestsBase.g.cs
index 1e8f4d08e3..0422067f91 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentDensityTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricCurrentDensity.FromAmperesPerSquareMeter(1);
Assert.True(v.Equals(ElectricCurrentDensity.FromAmperesPerSquareMeter(1), AmperesPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricCurrentDensity.Zero, AmperesPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(ElectricCurrentDensity.FromAmperesPerSquareMeter(100).Equals(ElectricCurrentDensity.FromAmperesPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricCurrentDensity.FromAmperesPerSquareMeter(100).Equals(ElectricCurrentDensity.FromAmperesPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentGradientTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentGradientTestsBase.g.cs
index 9f712eba0f..207d97e6e0 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentGradientTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentGradientTestsBase.g.cs
@@ -570,6 +570,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricCurrentGradient.FromAmperesPerSecond(1);
Assert.True(v.Equals(ElectricCurrentGradient.FromAmperesPerSecond(1), AmperesPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricCurrentGradient.Zero, AmperesPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(ElectricCurrentGradient.FromAmperesPerSecond(100).Equals(ElectricCurrentGradient.FromAmperesPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricCurrentGradient.FromAmperesPerSecond(100).Equals(ElectricCurrentGradient.FromAmperesPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentTestsBase.g.cs
index a562934178..6b778cbe0f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricCurrentTestsBase.g.cs
@@ -618,6 +618,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricCurrent.FromAmperes(1);
Assert.True(v.Equals(ElectricCurrent.FromAmperes(1), AmperesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricCurrent.Zero, AmperesTolerance, ComparisonType.Relative));
+ Assert.True(ElectricCurrent.FromAmperes(100).Equals(ElectricCurrent.FromAmperes(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricCurrent.FromAmperes(100).Equals(ElectricCurrent.FromAmperes(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricFieldTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricFieldTestsBase.g.cs
index e45dad4e08..3c816189f9 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricFieldTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricFieldTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricField.FromVoltsPerMeter(1);
Assert.True(v.Equals(ElectricField.FromVoltsPerMeter(1), VoltsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricField.Zero, VoltsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(ElectricField.FromVoltsPerMeter(100).Equals(ElectricField.FromVoltsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricField.FromVoltsPerMeter(100).Equals(ElectricField.FromVoltsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricInductanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricInductanceTestsBase.g.cs
index b96c40371f..abd6d32c4f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricInductanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricInductanceTestsBase.g.cs
@@ -500,6 +500,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricInductance.FromHenries(1);
Assert.True(v.Equals(ElectricInductance.FromHenries(1), HenriesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricInductance.Zero, HenriesTolerance, ComparisonType.Relative));
+ Assert.True(ElectricInductance.FromHenries(100).Equals(ElectricInductance.FromHenries(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricInductance.FromHenries(100).Equals(ElectricInductance.FromHenries(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialAcTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialAcTestsBase.g.cs
index d1219793c5..08b9310a8a 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialAcTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialAcTestsBase.g.cs
@@ -478,6 +478,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricPotentialAc.FromVoltsAc(1);
Assert.True(v.Equals(ElectricPotentialAc.FromVoltsAc(1), VoltsAcTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricPotentialAc.Zero, VoltsAcTolerance, ComparisonType.Relative));
+ Assert.True(ElectricPotentialAc.FromVoltsAc(100).Equals(ElectricPotentialAc.FromVoltsAc(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricPotentialAc.FromVoltsAc(100).Equals(ElectricPotentialAc.FromVoltsAc(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialChangeRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialChangeRateTestsBase.g.cs
index e30643eb12..652cde1035 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialChangeRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialChangeRateTestsBase.g.cs
@@ -937,6 +937,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricPotentialChangeRate.FromVoltsPerSeconds(1);
Assert.True(v.Equals(ElectricPotentialChangeRate.FromVoltsPerSeconds(1), VoltsPerSecondsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricPotentialChangeRate.Zero, VoltsPerSecondsTolerance, ComparisonType.Relative));
+ Assert.True(ElectricPotentialChangeRate.FromVoltsPerSeconds(100).Equals(ElectricPotentialChangeRate.FromVoltsPerSeconds(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricPotentialChangeRate.FromVoltsPerSeconds(100).Equals(ElectricPotentialChangeRate.FromVoltsPerSeconds(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialDcTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialDcTestsBase.g.cs
index 15669faa28..604e681184 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialDcTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialDcTestsBase.g.cs
@@ -478,6 +478,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricPotentialDc.FromVoltsDc(1);
Assert.True(v.Equals(ElectricPotentialDc.FromVoltsDc(1), VoltsDcTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricPotentialDc.Zero, VoltsDcTolerance, ComparisonType.Relative));
+ Assert.True(ElectricPotentialDc.FromVoltsDc(100).Equals(ElectricPotentialDc.FromVoltsDc(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricPotentialDc.FromVoltsDc(100).Equals(ElectricPotentialDc.FromVoltsDc(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialTestsBase.g.cs
index b375ce83d4..23248d2899 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricPotentialTestsBase.g.cs
@@ -635,6 +635,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricPotential.FromVolts(1);
Assert.True(v.Equals(ElectricPotential.FromVolts(1), VoltsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricPotential.Zero, VoltsTolerance, ComparisonType.Relative));
+ Assert.True(ElectricPotential.FromVolts(100).Equals(ElectricPotential.FromVolts(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricPotential.FromVolts(100).Equals(ElectricPotential.FromVolts(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistanceTestsBase.g.cs
index c69fe1611c..22570ec03e 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistanceTestsBase.g.cs
@@ -548,6 +548,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricResistance.FromOhms(1);
Assert.True(v.Equals(ElectricResistance.FromOhms(1), OhmsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricResistance.Zero, OhmsTolerance, ComparisonType.Relative));
+ Assert.True(ElectricResistance.FromOhms(100).Equals(ElectricResistance.FromOhms(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricResistance.FromOhms(100).Equals(ElectricResistance.FromOhms(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistivityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistivityTestsBase.g.cs
index 2ce41ad10e..c85c2a7df1 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistivityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricResistivityTestsBase.g.cs
@@ -771,6 +771,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricResistivity.FromOhmMeters(1);
Assert.True(v.Equals(ElectricResistivity.FromOhmMeters(1), OhmMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricResistivity.Zero, OhmMetersTolerance, ComparisonType.Relative));
+ Assert.True(ElectricResistivity.FromOhmMeters(100).Equals(ElectricResistivity.FromOhmMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricResistivity.FromOhmMeters(100).Equals(ElectricResistivity.FromOhmMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricSurfaceChargeDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricSurfaceChargeDensityTestsBase.g.cs
index 04af0291fe..c77ded3aac 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricSurfaceChargeDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ElectricSurfaceChargeDensityTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(1);
Assert.True(v.Equals(ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(1), CoulombsPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ElectricSurfaceChargeDensity.Zero, CoulombsPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(100).Equals(ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(100).Equals(ElectricSurfaceChargeDensity.FromCoulombsPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyDensityTestsBase.g.cs
index 57502ee676..677b61c4d6 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyDensityTestsBase.g.cs
@@ -745,6 +745,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = EnergyDensity.FromJoulesPerCubicMeter(1);
Assert.True(v.Equals(EnergyDensity.FromJoulesPerCubicMeter(1), JoulesPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(EnergyDensity.Zero, JoulesPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(EnergyDensity.FromJoulesPerCubicMeter(100).Equals(EnergyDensity.FromJoulesPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(EnergyDensity.FromJoulesPerCubicMeter(100).Equals(EnergyDensity.FromJoulesPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyTestsBase.g.cs
index 5ddc7afd48..ddd58762bc 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/EnergyTestsBase.g.cs
@@ -2207,6 +2207,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Energy.FromJoules(1);
Assert.True(v.Equals(Energy.FromJoules(1), JoulesTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Energy.Zero, JoulesTolerance, ComparisonType.Relative));
+ Assert.True(Energy.FromJoules(100).Equals(Energy.FromJoules(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Energy.FromJoules(100).Equals(Energy.FromJoules(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/EntropyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/EntropyTestsBase.g.cs
index 65737394af..95b46bf9a5 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/EntropyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/EntropyTestsBase.g.cs
@@ -570,6 +570,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Entropy.FromJoulesPerKelvin(1);
Assert.True(v.Equals(Entropy.FromJoulesPerKelvin(1), JoulesPerKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Entropy.Zero, JoulesPerKelvinTolerance, ComparisonType.Relative));
+ Assert.True(Entropy.FromJoulesPerKelvin(100).Equals(Entropy.FromJoulesPerKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Entropy.FromJoulesPerKelvin(100).Equals(Entropy.FromJoulesPerKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ForceChangeRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ForceChangeRateTestsBase.g.cs
index 82f5a8ee3c..01ffcec8e0 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ForceChangeRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ForceChangeRateTestsBase.g.cs
@@ -946,6 +946,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ForceChangeRate.FromNewtonsPerSecond(1);
Assert.True(v.Equals(ForceChangeRate.FromNewtonsPerSecond(1), NewtonsPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ForceChangeRate.Zero, NewtonsPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(ForceChangeRate.FromNewtonsPerSecond(100).Equals(ForceChangeRate.FromNewtonsPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ForceChangeRate.FromNewtonsPerSecond(100).Equals(ForceChangeRate.FromNewtonsPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ForcePerLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ForcePerLengthTestsBase.g.cs
index 5a75e375d3..6738907338 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ForcePerLengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ForcePerLengthTestsBase.g.cs
@@ -1829,6 +1829,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ForcePerLength.FromNewtonsPerMeter(1);
Assert.True(v.Equals(ForcePerLength.FromNewtonsPerMeter(1), NewtonsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ForcePerLength.Zero, NewtonsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(ForcePerLength.FromNewtonsPerMeter(100).Equals(ForcePerLength.FromNewtonsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ForcePerLength.FromNewtonsPerMeter(100).Equals(ForcePerLength.FromNewtonsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ForceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ForceTestsBase.g.cs
index feac3204ae..c58172b1bc 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ForceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ForceTestsBase.g.cs
@@ -1264,6 +1264,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Force.FromNewtons(1);
Assert.True(v.Equals(Force.FromNewtons(1), NewtonsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Force.Zero, NewtonsTolerance, ComparisonType.Relative));
+ Assert.True(Force.FromNewtons(100).Equals(Force.FromNewtons(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Force.FromNewtons(100).Equals(Force.FromNewtons(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/FrequencyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/FrequencyTestsBase.g.cs
index a68228ce0d..d207888386 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/FrequencyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/FrequencyTestsBase.g.cs
@@ -952,6 +952,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Frequency.FromHertz(1);
Assert.True(v.Equals(Frequency.FromHertz(1), HertzTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Frequency.Zero, HertzTolerance, ComparisonType.Relative));
+ Assert.True(Frequency.FromHertz(100).Equals(Frequency.FromHertz(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Frequency.FromHertz(100).Equals(Frequency.FromHertz(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/FuelEfficiencyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/FuelEfficiencyTestsBase.g.cs
index a558e69faf..931d0adc36 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/FuelEfficiencyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/FuelEfficiencyTestsBase.g.cs
@@ -465,6 +465,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = FuelEfficiency.FromLitersPer100Kilometers(1);
Assert.True(v.Equals(FuelEfficiency.FromLitersPer100Kilometers(1), LitersPer100KilometersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(FuelEfficiency.Zero, LitersPer100KilometersTolerance, ComparisonType.Relative));
+ Assert.True(FuelEfficiency.FromLitersPer100Kilometers(100).Equals(FuelEfficiency.FromLitersPer100Kilometers(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(FuelEfficiency.FromLitersPer100Kilometers(100).Equals(FuelEfficiency.FromLitersPer100Kilometers(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/HeatFluxTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/HeatFluxTestsBase.g.cs
index 0f653e5ceb..2d09ac4caa 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/HeatFluxTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/HeatFluxTestsBase.g.cs
@@ -979,6 +979,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = HeatFlux.FromWattsPerSquareMeter(1);
Assert.True(v.Equals(HeatFlux.FromWattsPerSquareMeter(1), WattsPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(HeatFlux.Zero, WattsPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(HeatFlux.FromWattsPerSquareMeter(100).Equals(HeatFlux.FromWattsPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(HeatFlux.FromWattsPerSquareMeter(100).Equals(HeatFlux.FromWattsPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/HeatTransferCoefficientTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/HeatTransferCoefficientTestsBase.g.cs
index 6ff8538e11..601df9b676 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/HeatTransferCoefficientTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/HeatTransferCoefficientTestsBase.g.cs
@@ -727,6 +727,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(1);
Assert.True(v.Equals(HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(1), WattsPerSquareMeterKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(HeatTransferCoefficient.Zero, WattsPerSquareMeterKelvinTolerance, ComparisonType.Relative));
+ Assert.True(HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(100).Equals(HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(100).Equals(HeatTransferCoefficient.FromWattsPerSquareMeterKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/IlluminanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/IlluminanceTestsBase.g.cs
index 5bb67f139b..5c6cb706b1 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/IlluminanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/IlluminanceTestsBase.g.cs
@@ -443,6 +443,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Illuminance.FromLux(1);
Assert.True(v.Equals(Illuminance.FromLux(1), LuxTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Illuminance.Zero, LuxTolerance, ComparisonType.Relative));
+ Assert.True(Illuminance.FromLux(100).Equals(Illuminance.FromLux(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Illuminance.FromLux(100).Equals(Illuminance.FromLux(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ImpulseTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ImpulseTestsBase.g.cs
index 5f556412e4..9e49d94cd2 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ImpulseTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ImpulseTestsBase.g.cs
@@ -758,6 +758,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Impulse.FromNewtonSeconds(1);
Assert.True(v.Equals(Impulse.FromNewtonSeconds(1), NewtonSecondsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Impulse.Zero, NewtonSecondsTolerance, ComparisonType.Relative));
+ Assert.True(Impulse.FromNewtonSeconds(100).Equals(Impulse.FromNewtonSeconds(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Impulse.FromNewtonSeconds(100).Equals(Impulse.FromNewtonSeconds(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/InformationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/InformationTestsBase.g.cs
index f061b4eca8..f8d5115bf1 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/InformationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/InformationTestsBase.g.cs
@@ -924,6 +924,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Information.FromBits(1);
Assert.True(v.Equals(Information.FromBits(1), BitsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Information.Zero, BitsTolerance, ComparisonType.Relative));
+ Assert.True(Information.FromBits(100).Equals(Information.FromBits(120), (decimal)0.3m, ComparisonType.Relative));
+ Assert.False(Information.FromBits(100).Equals(Information.FromBits(120), (decimal)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/IrradianceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/IrradianceTestsBase.g.cs
index fea1eaca85..97882dcfec 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/IrradianceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/IrradianceTestsBase.g.cs
@@ -771,6 +771,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Irradiance.FromWattsPerSquareMeter(1);
Assert.True(v.Equals(Irradiance.FromWattsPerSquareMeter(1), WattsPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Irradiance.Zero, WattsPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(Irradiance.FromWattsPerSquareMeter(100).Equals(Irradiance.FromWattsPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Irradiance.FromWattsPerSquareMeter(100).Equals(Irradiance.FromWattsPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/IrradiationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/IrradiationTestsBase.g.cs
index 65540ff664..0146850573 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/IrradiationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/IrradiationTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Irradiation.FromJoulesPerSquareMeter(1);
Assert.True(v.Equals(Irradiation.FromJoulesPerSquareMeter(1), JoulesPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Irradiation.Zero, JoulesPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(Irradiation.FromJoulesPerSquareMeter(100).Equals(Irradiation.FromJoulesPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Irradiation.FromJoulesPerSquareMeter(100).Equals(Irradiation.FromJoulesPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/JerkTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/JerkTestsBase.g.cs
index 21e44641e9..19dec4e23f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/JerkTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/JerkTestsBase.g.cs
@@ -974,6 +974,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Jerk.FromMetersPerSecondCubed(1);
Assert.True(v.Equals(Jerk.FromMetersPerSecondCubed(1), MetersPerSecondCubedTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Jerk.Zero, MetersPerSecondCubedTolerance, ComparisonType.Relative));
+ Assert.True(Jerk.FromMetersPerSecondCubed(100).Equals(Jerk.FromMetersPerSecondCubed(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Jerk.FromMetersPerSecondCubed(100).Equals(Jerk.FromMetersPerSecondCubed(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/KinematicViscosityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/KinematicViscosityTestsBase.g.cs
index 129806d5c9..eca5207a76 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/KinematicViscosityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/KinematicViscosityTestsBase.g.cs
@@ -832,6 +832,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = KinematicViscosity.FromSquareMetersPerSecond(1);
Assert.True(v.Equals(KinematicViscosity.FromSquareMetersPerSecond(1), SquareMetersPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(KinematicViscosity.Zero, SquareMetersPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(KinematicViscosity.FromSquareMetersPerSecond(100).Equals(KinematicViscosity.FromSquareMetersPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(KinematicViscosity.FromSquareMetersPerSecond(100).Equals(KinematicViscosity.FromSquareMetersPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LeakRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LeakRateTestsBase.g.cs
index 16e0a8cfed..412fccb2c1 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LeakRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LeakRateTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = LeakRate.FromPascalCubicMetersPerSecond(1);
Assert.True(v.Equals(LeakRate.FromPascalCubicMetersPerSecond(1), PascalCubicMetersPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(LeakRate.Zero, PascalCubicMetersPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(LeakRate.FromPascalCubicMetersPerSecond(100).Equals(LeakRate.FromPascalCubicMetersPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(LeakRate.FromPascalCubicMetersPerSecond(100).Equals(LeakRate.FromPascalCubicMetersPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LengthTestsBase.g.cs
index 2d9be6f4db..36d93c3926 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LengthTestsBase.g.cs
@@ -2869,6 +2869,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Length.FromMeters(1);
Assert.True(v.Equals(Length.FromMeters(1), MetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Length.Zero, MetersTolerance, ComparisonType.Relative));
+ Assert.True(Length.FromMeters(100).Equals(Length.FromMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Length.FromMeters(100).Equals(Length.FromMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LevelTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LevelTestsBase.g.cs
index 0118d7d382..7aa06034ff 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LevelTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LevelTestsBase.g.cs
@@ -399,6 +399,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Level.FromDecibels(1);
Assert.True(v.Equals(Level.FromDecibels(1), DecibelsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Level.Zero, DecibelsTolerance, ComparisonType.Relative));
+ Assert.True(Level.FromDecibels(100).Equals(Level.FromDecibels(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Level.FromDecibels(100).Equals(Level.FromDecibels(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LinearDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LinearDensityTestsBase.g.cs
index 7611aa928b..b7d8b378e6 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LinearDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LinearDensityTestsBase.g.cs
@@ -815,6 +815,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = LinearDensity.FromKilogramsPerMeter(1);
Assert.True(v.Equals(LinearDensity.FromKilogramsPerMeter(1), KilogramsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(LinearDensity.Zero, KilogramsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(LinearDensity.FromKilogramsPerMeter(100).Equals(LinearDensity.FromKilogramsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(LinearDensity.FromKilogramsPerMeter(100).Equals(LinearDensity.FromKilogramsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LinearPowerDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LinearPowerDensityTestsBase.g.cs
index e052b5c169..2cc04acb0e 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LinearPowerDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LinearPowerDensityTestsBase.g.cs
@@ -1090,6 +1090,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = LinearPowerDensity.FromWattsPerMeter(1);
Assert.True(v.Equals(LinearPowerDensity.FromWattsPerMeter(1), WattsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(LinearPowerDensity.Zero, WattsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(LinearPowerDensity.FromWattsPerMeter(100).Equals(LinearPowerDensity.FromWattsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(LinearPowerDensity.FromWattsPerMeter(100).Equals(LinearPowerDensity.FromWattsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminanceTestsBase.g.cs
index 56d125c861..3cbdb7a110 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminanceTestsBase.g.cs
@@ -675,6 +675,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Luminance.FromCandelasPerSquareMeter(1);
Assert.True(v.Equals(Luminance.FromCandelasPerSquareMeter(1), CandelasPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Luminance.Zero, CandelasPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(Luminance.FromCandelasPerSquareMeter(100).Equals(Luminance.FromCandelasPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Luminance.FromCandelasPerSquareMeter(100).Equals(Luminance.FromCandelasPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminosityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminosityTestsBase.g.cs
index f89aaf41e9..258da0aec3 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminosityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminosityTestsBase.g.cs
@@ -771,6 +771,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Luminosity.FromWatts(1);
Assert.True(v.Equals(Luminosity.FromWatts(1), WattsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Luminosity.Zero, WattsTolerance, ComparisonType.Relative));
+ Assert.True(Luminosity.FromWatts(100).Equals(Luminosity.FromWatts(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Luminosity.FromWatts(100).Equals(Luminosity.FromWatts(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousFluxTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousFluxTestsBase.g.cs
index 94f4eda89e..5822717c65 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousFluxTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousFluxTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = LuminousFlux.FromLumens(1);
Assert.True(v.Equals(LuminousFlux.FromLumens(1), LumensTolerance, ComparisonType.Relative));
Assert.False(v.Equals(LuminousFlux.Zero, LumensTolerance, ComparisonType.Relative));
+ Assert.True(LuminousFlux.FromLumens(100).Equals(LuminousFlux.FromLumens(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(LuminousFlux.FromLumens(100).Equals(LuminousFlux.FromLumens(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousIntensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousIntensityTestsBase.g.cs
index 401981527c..b02c0bcfac 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousIntensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/LuminousIntensityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = LuminousIntensity.FromCandela(1);
Assert.True(v.Equals(LuminousIntensity.FromCandela(1), CandelaTolerance, ComparisonType.Relative));
Assert.False(v.Equals(LuminousIntensity.Zero, CandelaTolerance, ComparisonType.Relative));
+ Assert.True(LuminousIntensity.FromCandela(100).Equals(LuminousIntensity.FromCandela(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(LuminousIntensity.FromCandela(100).Equals(LuminousIntensity.FromCandela(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFieldTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFieldTestsBase.g.cs
index 6838b70523..9617f4952d 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFieldTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFieldTestsBase.g.cs
@@ -535,6 +535,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MagneticField.FromTeslas(1);
Assert.True(v.Equals(MagneticField.FromTeslas(1), TeslasTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MagneticField.Zero, TeslasTolerance, ComparisonType.Relative));
+ Assert.True(MagneticField.FromTeslas(100).Equals(MagneticField.FromTeslas(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MagneticField.FromTeslas(100).Equals(MagneticField.FromTeslas(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFluxTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFluxTestsBase.g.cs
index 9e109a9d60..63059be1d6 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFluxTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MagneticFluxTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MagneticFlux.FromWebers(1);
Assert.True(v.Equals(MagneticFlux.FromWebers(1), WebersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MagneticFlux.Zero, WebersTolerance, ComparisonType.Relative));
+ Assert.True(MagneticFlux.FromWebers(100).Equals(MagneticFlux.FromWebers(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MagneticFlux.FromWebers(100).Equals(MagneticFlux.FromWebers(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MagnetizationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MagnetizationTestsBase.g.cs
index 43935193f2..8b2a1c6be0 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MagnetizationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MagnetizationTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Magnetization.FromAmperesPerMeter(1);
Assert.True(v.Equals(Magnetization.FromAmperesPerMeter(1), AmperesPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Magnetization.Zero, AmperesPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(Magnetization.FromAmperesPerMeter(100).Equals(Magnetization.FromAmperesPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Magnetization.FromAmperesPerMeter(100).Equals(Magnetization.FromAmperesPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassConcentrationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassConcentrationTestsBase.g.cs
index ad27b46c09..8795e93cbd 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassConcentrationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassConcentrationTestsBase.g.cs
@@ -2136,6 +2136,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MassConcentration.FromKilogramsPerCubicMeter(1);
Assert.True(v.Equals(MassConcentration.FromKilogramsPerCubicMeter(1), KilogramsPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MassConcentration.Zero, KilogramsPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(MassConcentration.FromKilogramsPerCubicMeter(100).Equals(MassConcentration.FromKilogramsPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MassConcentration.FromKilogramsPerCubicMeter(100).Equals(MassConcentration.FromKilogramsPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFlowTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFlowTestsBase.g.cs
index 6351cb648d..07351112f5 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFlowTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFlowTestsBase.g.cs
@@ -1722,6 +1722,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MassFlow.FromGramsPerSecond(1);
Assert.True(v.Equals(MassFlow.FromGramsPerSecond(1), GramsPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MassFlow.Zero, GramsPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(MassFlow.FromGramsPerSecond(100).Equals(MassFlow.FromGramsPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MassFlow.FromGramsPerSecond(100).Equals(MassFlow.FromGramsPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFluxTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFluxTestsBase.g.cs
index eab6d4618d..7fa8fa7aa9 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFluxTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFluxTestsBase.g.cs
@@ -745,6 +745,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MassFlux.FromKilogramsPerSecondPerSquareMeter(1);
Assert.True(v.Equals(MassFlux.FromKilogramsPerSecondPerSquareMeter(1), KilogramsPerSecondPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MassFlux.Zero, KilogramsPerSecondPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(MassFlux.FromKilogramsPerSecondPerSquareMeter(100).Equals(MassFlux.FromKilogramsPerSecondPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MassFlux.FromKilogramsPerSecondPerSquareMeter(100).Equals(MassFlux.FromKilogramsPerSecondPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFractionTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFractionTestsBase.g.cs
index 814eead319..78cad7385a 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassFractionTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassFractionTestsBase.g.cs
@@ -1189,6 +1189,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MassFraction.FromDecimalFractions(1);
Assert.True(v.Equals(MassFraction.FromDecimalFractions(1), DecimalFractionsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MassFraction.Zero, DecimalFractionsTolerance, ComparisonType.Relative));
+ Assert.True(MassFraction.FromDecimalFractions(100).Equals(MassFraction.FromDecimalFractions(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MassFraction.FromDecimalFractions(100).Equals(MassFraction.FromDecimalFractions(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassMomentOfInertiaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassMomentOfInertiaTestsBase.g.cs
index 6ed4f77b07..35ea655e63 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassMomentOfInertiaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassMomentOfInertiaTestsBase.g.cs
@@ -1305,6 +1305,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MassMomentOfInertia.FromKilogramSquareMeters(1);
Assert.True(v.Equals(MassMomentOfInertia.FromKilogramSquareMeters(1), KilogramSquareMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MassMomentOfInertia.Zero, KilogramSquareMetersTolerance, ComparisonType.Relative));
+ Assert.True(MassMomentOfInertia.FromKilogramSquareMeters(100).Equals(MassMomentOfInertia.FromKilogramSquareMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MassMomentOfInertia.FromKilogramSquareMeters(100).Equals(MassMomentOfInertia.FromKilogramSquareMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MassTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MassTestsBase.g.cs
index 7307a896ba..1227fa14e5 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MassTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MassTestsBase.g.cs
@@ -2378,6 +2378,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Mass.FromKilograms(1);
Assert.True(v.Equals(Mass.FromKilograms(1), KilogramsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Mass.Zero, KilogramsTolerance, ComparisonType.Relative));
+ Assert.True(Mass.FromKilograms(100).Equals(Mass.FromKilograms(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Mass.FromKilograms(100).Equals(Mass.FromKilograms(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolalityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolalityTestsBase.g.cs
index d8dec9a2d0..a32e02bedc 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolalityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolalityTestsBase.g.cs
@@ -395,6 +395,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Molality.FromMolesPerKilogram(1);
Assert.True(v.Equals(Molality.FromMolesPerKilogram(1), MolesPerKilogramTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Molality.Zero, MolesPerKilogramTolerance, ComparisonType.Relative));
+ Assert.True(Molality.FromMolesPerKilogram(100).Equals(Molality.FromMolesPerKilogram(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Molality.FromMolesPerKilogram(100).Equals(Molality.FromMolesPerKilogram(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEnergyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEnergyTestsBase.g.cs
index 8cabd707e9..1f0d3184f0 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEnergyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEnergyTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MolarEnergy.FromJoulesPerMole(1);
Assert.True(v.Equals(MolarEnergy.FromJoulesPerMole(1), JoulesPerMoleTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MolarEnergy.Zero, JoulesPerMoleTolerance, ComparisonType.Relative));
+ Assert.True(MolarEnergy.FromJoulesPerMole(100).Equals(MolarEnergy.FromJoulesPerMole(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MolarEnergy.FromJoulesPerMole(100).Equals(MolarEnergy.FromJoulesPerMole(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEntropyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEntropyTestsBase.g.cs
index c915d64342..f65dc2b12e 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEntropyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarEntropyTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MolarEntropy.FromJoulesPerMoleKelvin(1);
Assert.True(v.Equals(MolarEntropy.FromJoulesPerMoleKelvin(1), JoulesPerMoleKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MolarEntropy.Zero, JoulesPerMoleKelvinTolerance, ComparisonType.Relative));
+ Assert.True(MolarEntropy.FromJoulesPerMoleKelvin(100).Equals(MolarEntropy.FromJoulesPerMoleKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MolarEntropy.FromJoulesPerMoleKelvin(100).Equals(MolarEntropy.FromJoulesPerMoleKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarFlowTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarFlowTestsBase.g.cs
index 89f673b4d3..4825dcef02 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarFlowTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarFlowTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MolarFlow.FromMolesPerSecond(1);
Assert.True(v.Equals(MolarFlow.FromMolesPerSecond(1), MolesPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MolarFlow.Zero, MolesPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(MolarFlow.FromMolesPerSecond(100).Equals(MolarFlow.FromMolesPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MolarFlow.FromMolesPerSecond(100).Equals(MolarFlow.FromMolesPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarMassTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarMassTestsBase.g.cs
index 28e3c0f6c3..7c2d3aea8b 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarMassTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarMassTestsBase.g.cs
@@ -1068,6 +1068,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = MolarMass.FromKilogramsPerMole(1);
Assert.True(v.Equals(MolarMass.FromKilogramsPerMole(1), KilogramsPerMoleTolerance, ComparisonType.Relative));
Assert.False(v.Equals(MolarMass.Zero, KilogramsPerMoleTolerance, ComparisonType.Relative));
+ Assert.True(MolarMass.FromKilogramsPerMole(100).Equals(MolarMass.FromKilogramsPerMole(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(MolarMass.FromKilogramsPerMole(100).Equals(MolarMass.FromKilogramsPerMole(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarityTestsBase.g.cs
index 64f4b2db4b..2f30ce95a3 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/MolarityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/MolarityTestsBase.g.cs
@@ -902,6 +902,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Molarity.FromMolesPerCubicMeter(1);
Assert.True(v.Equals(Molarity.FromMolesPerCubicMeter(1), MolesPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Molarity.Zero, MolesPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(Molarity.FromMolesPerCubicMeter(100).Equals(Molarity.FromMolesPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Molarity.FromMolesPerCubicMeter(100).Equals(Molarity.FromMolesPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PermeabilityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PermeabilityTestsBase.g.cs
index 5959b2d99d..ade643c16d 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PermeabilityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PermeabilityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Permeability.FromHenriesPerMeter(1);
Assert.True(v.Equals(Permeability.FromHenriesPerMeter(1), HenriesPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Permeability.Zero, HenriesPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(Permeability.FromHenriesPerMeter(100).Equals(Permeability.FromHenriesPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Permeability.FromHenriesPerMeter(100).Equals(Permeability.FromHenriesPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PermittivityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PermittivityTestsBase.g.cs
index 6ba7c5194d..88bbf0915c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PermittivityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PermittivityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Permittivity.FromFaradsPerMeter(1);
Assert.True(v.Equals(Permittivity.FromFaradsPerMeter(1), FaradsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Permittivity.Zero, FaradsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(Permittivity.FromFaradsPerMeter(100).Equals(Permittivity.FromFaradsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Permittivity.FromFaradsPerMeter(100).Equals(Permittivity.FromFaradsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PorousMediumPermeabilityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PorousMediumPermeabilityTestsBase.g.cs
index d7321f40b1..5f09bf01fd 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PorousMediumPermeabilityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PorousMediumPermeabilityTestsBase.g.cs
@@ -500,6 +500,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = PorousMediumPermeability.FromSquareMeters(1);
Assert.True(v.Equals(PorousMediumPermeability.FromSquareMeters(1), SquareMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(PorousMediumPermeability.Zero, SquareMetersTolerance, ComparisonType.Relative));
+ Assert.True(PorousMediumPermeability.FromSquareMeters(100).Equals(PorousMediumPermeability.FromSquareMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(PorousMediumPermeability.FromSquareMeters(100).Equals(PorousMediumPermeability.FromSquareMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerDensityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerDensityTestsBase.g.cs
index 3d3e6d9312..ce7fc486fc 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerDensityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerDensityTestsBase.g.cs
@@ -1777,6 +1777,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = PowerDensity.FromWattsPerCubicMeter(1);
Assert.True(v.Equals(PowerDensity.FromWattsPerCubicMeter(1), WattsPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(PowerDensity.Zero, WattsPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(PowerDensity.FromWattsPerCubicMeter(100).Equals(PowerDensity.FromWattsPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(PowerDensity.FromWattsPerCubicMeter(100).Equals(PowerDensity.FromWattsPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerRatioTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerRatioTestsBase.g.cs
index 1b05a986a4..90cc693c1d 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerRatioTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerRatioTestsBase.g.cs
@@ -423,6 +423,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = PowerRatio.FromDecibelWatts(1);
Assert.True(v.Equals(PowerRatio.FromDecibelWatts(1), DecibelWattsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(PowerRatio.Zero, DecibelWattsTolerance, ComparisonType.Relative));
+ Assert.True(PowerRatio.FromDecibelWatts(100).Equals(PowerRatio.FromDecibelWatts(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(PowerRatio.FromDecibelWatts(100).Equals(PowerRatio.FromDecibelWatts(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerTestsBase.g.cs
index fc2e98998d..4c19f1c99a 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PowerTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PowerTestsBase.g.cs
@@ -1216,6 +1216,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Power.FromWatts(1);
Assert.True(v.Equals(Power.FromWatts(1), WattsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Power.Zero, WattsTolerance, ComparisonType.Relative));
+ Assert.True(Power.FromWatts(100).Equals(Power.FromWatts(120), (decimal)0.3m, ComparisonType.Relative));
+ Assert.False(Power.FromWatts(100).Equals(Power.FromWatts(120), (decimal)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PressureChangeRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PressureChangeRateTestsBase.g.cs
index 1e4178602b..3595ef7205 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PressureChangeRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PressureChangeRateTestsBase.g.cs
@@ -1675,6 +1675,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = PressureChangeRate.FromPascalsPerSecond(1);
Assert.True(v.Equals(PressureChangeRate.FromPascalsPerSecond(1), PascalsPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(PressureChangeRate.Zero, PascalsPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(PressureChangeRate.FromPascalsPerSecond(100).Equals(PressureChangeRate.FromPascalsPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(PressureChangeRate.FromPascalsPerSecond(100).Equals(PressureChangeRate.FromPascalsPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/PressureTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/PressureTestsBase.g.cs
index 88592eb00a..4143953576 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/PressureTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/PressureTestsBase.g.cs
@@ -3082,6 +3082,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Pressure.FromPascals(1);
Assert.True(v.Equals(Pressure.FromPascals(1), PascalsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Pressure.Zero, PascalsTolerance, ComparisonType.Relative));
+ Assert.True(Pressure.FromPascals(100).Equals(Pressure.FromPascals(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Pressure.FromPascals(100).Equals(Pressure.FromPascals(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationEquivalentDoseTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationEquivalentDoseTestsBase.g.cs
index 9d7c3a2577..551d0561f9 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationEquivalentDoseTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationEquivalentDoseTestsBase.g.cs
@@ -631,6 +631,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RadiationEquivalentDose.FromSieverts(1);
Assert.True(v.Equals(RadiationEquivalentDose.FromSieverts(1), SievertsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RadiationEquivalentDose.Zero, SievertsTolerance, ComparisonType.Relative));
+ Assert.True(RadiationEquivalentDose.FromSieverts(100).Equals(RadiationEquivalentDose.FromSieverts(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RadiationEquivalentDose.FromSieverts(100).Equals(RadiationEquivalentDose.FromSieverts(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationExposureTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationExposureTestsBase.g.cs
index 31f2bf9527..7f00f475bb 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationExposureTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RadiationExposureTestsBase.g.cs
@@ -605,6 +605,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RadiationExposure.FromCoulombsPerKilogram(1);
Assert.True(v.Equals(RadiationExposure.FromCoulombsPerKilogram(1), CoulombsPerKilogramTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RadiationExposure.Zero, CoulombsPerKilogramTolerance, ComparisonType.Relative));
+ Assert.True(RadiationExposure.FromCoulombsPerKilogram(100).Equals(RadiationExposure.FromCoulombsPerKilogram(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RadiationExposure.FromCoulombsPerKilogram(100).Equals(RadiationExposure.FromCoulombsPerKilogram(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RadioactivityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RadioactivityTestsBase.g.cs
index 9307cbdbd7..10b79165d5 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RadioactivityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RadioactivityTestsBase.g.cs
@@ -1860,6 +1860,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Radioactivity.FromBecquerels(1);
Assert.True(v.Equals(Radioactivity.FromBecquerels(1), BecquerelsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Radioactivity.Zero, BecquerelsTolerance, ComparisonType.Relative));
+ Assert.True(Radioactivity.FromBecquerels(100).Equals(Radioactivity.FromBecquerels(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Radioactivity.FromBecquerels(100).Equals(Radioactivity.FromBecquerels(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RatioChangeRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RatioChangeRateTestsBase.g.cs
index eb98e2014b..880b9297e3 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RatioChangeRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RatioChangeRateTestsBase.g.cs
@@ -395,6 +395,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RatioChangeRate.FromDecimalFractionsPerSecond(1);
Assert.True(v.Equals(RatioChangeRate.FromDecimalFractionsPerSecond(1), DecimalFractionsPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RatioChangeRate.Zero, DecimalFractionsPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(RatioChangeRate.FromDecimalFractionsPerSecond(100).Equals(RatioChangeRate.FromDecimalFractionsPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RatioChangeRate.FromDecimalFractionsPerSecond(100).Equals(RatioChangeRate.FromDecimalFractionsPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RatioTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RatioTestsBase.g.cs
index dff098a836..98c9145894 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RatioTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RatioTestsBase.g.cs
@@ -535,6 +535,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Ratio.FromDecimalFractions(1);
Assert.True(v.Equals(Ratio.FromDecimalFractions(1), DecimalFractionsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Ratio.Zero, DecimalFractionsTolerance, ComparisonType.Relative));
+ Assert.True(Ratio.FromDecimalFractions(100).Equals(Ratio.FromDecimalFractions(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Ratio.FromDecimalFractions(100).Equals(Ratio.FromDecimalFractions(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ReactiveEnergyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ReactiveEnergyTestsBase.g.cs
index ac965968bb..9841939faf 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ReactiveEnergyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ReactiveEnergyTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ReactiveEnergy.FromVoltampereReactiveHours(1);
Assert.True(v.Equals(ReactiveEnergy.FromVoltampereReactiveHours(1), VoltampereReactiveHoursTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ReactiveEnergy.Zero, VoltampereReactiveHoursTolerance, ComparisonType.Relative));
+ Assert.True(ReactiveEnergy.FromVoltampereReactiveHours(100).Equals(ReactiveEnergy.FromVoltampereReactiveHours(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ReactiveEnergy.FromVoltampereReactiveHours(100).Equals(ReactiveEnergy.FromVoltampereReactiveHours(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ReactivePowerTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ReactivePowerTestsBase.g.cs
index 718b047479..4d6ba8c0bb 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ReactivePowerTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ReactivePowerTestsBase.g.cs
@@ -465,6 +465,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ReactivePower.FromVoltamperesReactive(1);
Assert.True(v.Equals(ReactivePower.FromVoltamperesReactive(1), VoltamperesReactiveTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ReactivePower.Zero, VoltamperesReactiveTolerance, ComparisonType.Relative));
+ Assert.True(ReactivePower.FromVoltamperesReactive(100).Equals(ReactivePower.FromVoltamperesReactive(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ReactivePower.FromVoltamperesReactive(100).Equals(ReactivePower.FromVoltamperesReactive(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalAreaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalAreaTestsBase.g.cs
index e9dd3b8dc1..86bbc74d5c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalAreaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalAreaTestsBase.g.cs
@@ -710,6 +710,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ReciprocalArea.FromInverseSquareMeters(1);
Assert.True(v.Equals(ReciprocalArea.FromInverseSquareMeters(1), InverseSquareMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ReciprocalArea.Zero, InverseSquareMetersTolerance, ComparisonType.Relative));
+ Assert.True(ReciprocalArea.FromInverseSquareMeters(100).Equals(ReciprocalArea.FromInverseSquareMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ReciprocalArea.FromInverseSquareMeters(100).Equals(ReciprocalArea.FromInverseSquareMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalLengthTestsBase.g.cs
index e856fc3bb5..0941e0570c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalLengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ReciprocalLengthTestsBase.g.cs
@@ -915,6 +915,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ReciprocalLength.FromInverseMeters(1);
Assert.True(v.Equals(ReciprocalLength.FromInverseMeters(1), InverseMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ReciprocalLength.Zero, InverseMetersTolerance, ComparisonType.Relative));
+ Assert.True(ReciprocalLength.FromInverseMeters(100).Equals(ReciprocalLength.FromInverseMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ReciprocalLength.FromInverseMeters(100).Equals(ReciprocalLength.FromInverseMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RelativeHumidityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RelativeHumidityTestsBase.g.cs
index 36c3ebfc5a..2c2a92237d 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RelativeHumidityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RelativeHumidityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RelativeHumidity.FromPercent(1);
Assert.True(v.Equals(RelativeHumidity.FromPercent(1), PercentTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RelativeHumidity.Zero, PercentTolerance, ComparisonType.Relative));
+ Assert.True(RelativeHumidity.FromPercent(100).Equals(RelativeHumidity.FromPercent(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RelativeHumidity.FromPercent(100).Equals(RelativeHumidity.FromPercent(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalAccelerationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalAccelerationTestsBase.g.cs
index 96aef71bb8..e86a4fb65f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalAccelerationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalAccelerationTestsBase.g.cs
@@ -489,6 +489,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RotationalAcceleration.FromRadiansPerSecondSquared(1);
Assert.True(v.Equals(RotationalAcceleration.FromRadiansPerSecondSquared(1), RadiansPerSecondSquaredTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RotationalAcceleration.Zero, RadiansPerSecondSquaredTolerance, ComparisonType.Relative));
+ Assert.True(RotationalAcceleration.FromRadiansPerSecondSquared(100).Equals(RotationalAcceleration.FromRadiansPerSecondSquared(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RotationalAcceleration.FromRadiansPerSecondSquared(100).Equals(RotationalAcceleration.FromRadiansPerSecondSquared(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalSpeedTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalSpeedTestsBase.g.cs
index a8ec0147c7..ed27e97370 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalSpeedTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalSpeedTestsBase.g.cs
@@ -1212,6 +1212,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RotationalSpeed.FromRadiansPerSecond(1);
Assert.True(v.Equals(RotationalSpeed.FromRadiansPerSecond(1), RadiansPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RotationalSpeed.Zero, RadiansPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(RotationalSpeed.FromRadiansPerSecond(100).Equals(RotationalSpeed.FromRadiansPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RotationalSpeed.FromRadiansPerSecond(100).Equals(RotationalSpeed.FromRadiansPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessPerLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessPerLengthTestsBase.g.cs
index 49ed69b1cc..e05be25a01 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessPerLengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessPerLengthTestsBase.g.cs
@@ -692,6 +692,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(1);
Assert.True(v.Equals(RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(1), NewtonMetersPerRadianPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RotationalStiffnessPerLength.Zero, NewtonMetersPerRadianPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(100).Equals(RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(100).Equals(RotationalStiffnessPerLength.FromNewtonMetersPerRadianPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessTestsBase.g.cs
index 9570dbe397..52a6339876 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/RotationalStiffnessTestsBase.g.cs
@@ -2964,6 +2964,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = RotationalStiffness.FromNewtonMetersPerRadian(1);
Assert.True(v.Equals(RotationalStiffness.FromNewtonMetersPerRadian(1), NewtonMetersPerRadianTolerance, ComparisonType.Relative));
Assert.False(v.Equals(RotationalStiffness.Zero, NewtonMetersPerRadianTolerance, ComparisonType.Relative));
+ Assert.True(RotationalStiffness.FromNewtonMetersPerRadian(100).Equals(RotationalStiffness.FromNewtonMetersPerRadian(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(RotationalStiffness.FromNewtonMetersPerRadian(100).Equals(RotationalStiffness.FromNewtonMetersPerRadian(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ScalarTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ScalarTestsBase.g.cs
index 742d059f30..6d3a8fab93 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ScalarTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ScalarTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Scalar.FromAmount(1);
Assert.True(v.Equals(Scalar.FromAmount(1), AmountTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Scalar.Zero, AmountTolerance, ComparisonType.Relative));
+ Assert.True(Scalar.FromAmount(100).Equals(Scalar.FromAmount(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Scalar.FromAmount(100).Equals(Scalar.FromAmount(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SolidAngleTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SolidAngleTestsBase.g.cs
index aa6510723b..134a8f4609 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SolidAngleTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SolidAngleTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SolidAngle.FromSteradians(1);
Assert.True(v.Equals(SolidAngle.FromSteradians(1), SteradiansTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SolidAngle.Zero, SteradiansTolerance, ComparisonType.Relative));
+ Assert.True(SolidAngle.FromSteradians(100).Equals(SolidAngle.FromSteradians(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SolidAngle.FromSteradians(100).Equals(SolidAngle.FromSteradians(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEnergyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEnergyTestsBase.g.cs
index e2c1dafb97..77a00e3130 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEnergyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEnergyTestsBase.g.cs
@@ -1375,6 +1375,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SpecificEnergy.FromJoulesPerKilogram(1);
Assert.True(v.Equals(SpecificEnergy.FromJoulesPerKilogram(1), JoulesPerKilogramTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SpecificEnergy.Zero, JoulesPerKilogramTolerance, ComparisonType.Relative));
+ Assert.True(SpecificEnergy.FromJoulesPerKilogram(100).Equals(SpecificEnergy.FromJoulesPerKilogram(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SpecificEnergy.FromJoulesPerKilogram(100).Equals(SpecificEnergy.FromJoulesPerKilogram(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEntropyTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEntropyTestsBase.g.cs
index 2aa80ab7b4..3e84450d4f 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEntropyTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificEntropyTestsBase.g.cs
@@ -664,6 +664,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SpecificEntropy.FromJoulesPerKilogramKelvin(1);
Assert.True(v.Equals(SpecificEntropy.FromJoulesPerKilogramKelvin(1), JoulesPerKilogramKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SpecificEntropy.Zero, JoulesPerKilogramKelvinTolerance, ComparisonType.Relative));
+ Assert.True(SpecificEntropy.FromJoulesPerKilogramKelvin(100).Equals(SpecificEntropy.FromJoulesPerKilogramKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SpecificEntropy.FromJoulesPerKilogramKelvin(100).Equals(SpecificEntropy.FromJoulesPerKilogramKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificFuelConsumptionTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificFuelConsumptionTestsBase.g.cs
index 468bd12dbd..b11e456813 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificFuelConsumptionTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificFuelConsumptionTestsBase.g.cs
@@ -465,6 +465,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(1);
Assert.True(v.Equals(SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(1), GramsPerKiloNewtonSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SpecificFuelConsumption.Zero, GramsPerKiloNewtonSecondTolerance, ComparisonType.Relative));
+ Assert.True(SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(100).Equals(SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(100).Equals(SpecificFuelConsumption.FromGramsPerKiloNewtonSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificVolumeTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificVolumeTestsBase.g.cs
index 52668dba57..493da36e5a 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificVolumeTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificVolumeTestsBase.g.cs
@@ -430,6 +430,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SpecificVolume.FromCubicMetersPerKilogram(1);
Assert.True(v.Equals(SpecificVolume.FromCubicMetersPerKilogram(1), CubicMetersPerKilogramTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SpecificVolume.Zero, CubicMetersPerKilogramTolerance, ComparisonType.Relative));
+ Assert.True(SpecificVolume.FromCubicMetersPerKilogram(100).Equals(SpecificVolume.FromCubicMetersPerKilogram(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SpecificVolume.FromCubicMetersPerKilogram(100).Equals(SpecificVolume.FromCubicMetersPerKilogram(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificWeightTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificWeightTestsBase.g.cs
index 49815d777c..2b2195ad96 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificWeightTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpecificWeightTestsBase.g.cs
@@ -920,6 +920,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = SpecificWeight.FromNewtonsPerCubicMeter(1);
Assert.True(v.Equals(SpecificWeight.FromNewtonsPerCubicMeter(1), NewtonsPerCubicMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(SpecificWeight.Zero, NewtonsPerCubicMeterTolerance, ComparisonType.Relative));
+ Assert.True(SpecificWeight.FromNewtonsPerCubicMeter(100).Equals(SpecificWeight.FromNewtonsPerCubicMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(SpecificWeight.FromNewtonsPerCubicMeter(100).Equals(SpecificWeight.FromNewtonsPerCubicMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/SpeedTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/SpeedTestsBase.g.cs
index ceafc36b5c..792a712136 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/SpeedTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/SpeedTestsBase.g.cs
@@ -2200,6 +2200,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Speed.FromMetersPerSecond(1);
Assert.True(v.Equals(Speed.FromMetersPerSecond(1), MetersPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Speed.Zero, MetersPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(Speed.FromMetersPerSecond(100).Equals(Speed.FromMetersPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Speed.FromMetersPerSecond(100).Equals(Speed.FromMetersPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/StandardVolumeFlowTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/StandardVolumeFlowTestsBase.g.cs
index d4567dd0c2..066f585c8d 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/StandardVolumeFlowTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/StandardVolumeFlowTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = StandardVolumeFlow.FromStandardCubicMetersPerSecond(1);
Assert.True(v.Equals(StandardVolumeFlow.FromStandardCubicMetersPerSecond(1), StandardCubicMetersPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(StandardVolumeFlow.Zero, StandardCubicMetersPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(StandardVolumeFlow.FromStandardCubicMetersPerSecond(100).Equals(StandardVolumeFlow.FromStandardCubicMetersPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(StandardVolumeFlow.FromStandardCubicMetersPerSecond(100).Equals(StandardVolumeFlow.FromStandardCubicMetersPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureChangeRateTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureChangeRateTestsBase.g.cs
index 6ddf89e0b8..39797721f2 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureChangeRateTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureChangeRateTestsBase.g.cs
@@ -675,6 +675,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = TemperatureChangeRate.FromDegreesCelsiusPerSecond(1);
Assert.True(v.Equals(TemperatureChangeRate.FromDegreesCelsiusPerSecond(1), DegreesCelsiusPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(TemperatureChangeRate.Zero, DegreesCelsiusPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(TemperatureChangeRate.FromDegreesCelsiusPerSecond(100).Equals(TemperatureChangeRate.FromDegreesCelsiusPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(TemperatureChangeRate.FromDegreesCelsiusPerSecond(100).Equals(TemperatureChangeRate.FromDegreesCelsiusPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureDeltaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureDeltaTestsBase.g.cs
index bcad90eb83..f9c26f8486 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureDeltaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureDeltaTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = TemperatureDelta.FromKelvins(1);
Assert.True(v.Equals(TemperatureDelta.FromKelvins(1), KelvinsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(TemperatureDelta.Zero, KelvinsTolerance, ComparisonType.Relative));
+ Assert.True(TemperatureDelta.FromKelvins(100).Equals(TemperatureDelta.FromKelvins(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(TemperatureDelta.FromKelvins(100).Equals(TemperatureDelta.FromKelvins(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
index 316f9dff2a..43582b44bd 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
@@ -465,6 +465,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = TemperatureGradient.FromKelvinsPerMeter(1);
Assert.True(v.Equals(TemperatureGradient.FromKelvinsPerMeter(1), KelvinsPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(TemperatureGradient.Zero, KelvinsPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(TemperatureGradient.FromKelvinsPerMeter(100).Equals(TemperatureGradient.FromKelvinsPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(TemperatureGradient.FromKelvinsPerMeter(100).Equals(TemperatureGradient.FromKelvinsPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureTestsBase.g.cs
index 7bdd29dc4c..33a3bfc112 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureTestsBase.g.cs
@@ -663,6 +663,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Temperature.FromKelvins(1);
Assert.True(v.Equals(Temperature.FromKelvins(1), KelvinsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Temperature.Zero, KelvinsTolerance, ComparisonType.Relative));
+ Assert.True(Temperature.FromKelvins(100).Equals(Temperature.FromKelvins(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Temperature.FromKelvins(100).Equals(Temperature.FromKelvins(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalConductivityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalConductivityTestsBase.g.cs
index 9227245c2b..fb3d6fb5ed 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalConductivityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalConductivityTestsBase.g.cs
@@ -395,6 +395,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ThermalConductivity.FromWattsPerMeterKelvin(1);
Assert.True(v.Equals(ThermalConductivity.FromWattsPerMeterKelvin(1), WattsPerMeterKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ThermalConductivity.Zero, WattsPerMeterKelvinTolerance, ComparisonType.Relative));
+ Assert.True(ThermalConductivity.FromWattsPerMeterKelvin(100).Equals(ThermalConductivity.FromWattsPerMeterKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ThermalConductivity.FromWattsPerMeterKelvin(100).Equals(ThermalConductivity.FromWattsPerMeterKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalResistanceTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalResistanceTestsBase.g.cs
index ddfa254927..3485371feb 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalResistanceTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/ThermalResistanceTestsBase.g.cs
@@ -535,6 +535,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = ThermalResistance.FromSquareMeterKelvinsPerKilowatt(1);
Assert.True(v.Equals(ThermalResistance.FromSquareMeterKelvinsPerKilowatt(1), SquareMeterKelvinsPerKilowattTolerance, ComparisonType.Relative));
Assert.False(v.Equals(ThermalResistance.Zero, SquareMeterKelvinsPerKilowattTolerance, ComparisonType.Relative));
+ Assert.True(ThermalResistance.FromSquareMeterKelvinsPerKilowatt(100).Equals(ThermalResistance.FromSquareMeterKelvinsPerKilowatt(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(ThermalResistance.FromSquareMeterKelvinsPerKilowatt(100).Equals(ThermalResistance.FromSquareMeterKelvinsPerKilowatt(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs
index 9a2f2bf6d8..7eba8692ff 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs
@@ -1132,6 +1132,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = TorquePerLength.FromNewtonMetersPerMeter(1);
Assert.True(v.Equals(TorquePerLength.FromNewtonMetersPerMeter(1), NewtonMetersPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(TorquePerLength.Zero, NewtonMetersPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(TorquePerLength.FromNewtonMetersPerMeter(100).Equals(TorquePerLength.FromNewtonMetersPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(TorquePerLength.FromNewtonMetersPerMeter(100).Equals(TorquePerLength.FromNewtonMetersPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TorqueTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TorqueTestsBase.g.cs
index 7875a5097f..01e965f586 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TorqueTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TorqueTestsBase.g.cs
@@ -1272,6 +1272,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Torque.FromNewtonMeters(1);
Assert.True(v.Equals(Torque.FromNewtonMeters(1), NewtonMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Torque.Zero, NewtonMetersTolerance, ComparisonType.Relative));
+ Assert.True(Torque.FromNewtonMeters(100).Equals(Torque.FromNewtonMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Torque.FromNewtonMeters(100).Equals(Torque.FromNewtonMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TurbidityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TurbidityTestsBase.g.cs
index 394321a806..f1df427f37 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TurbidityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TurbidityTestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Turbidity.FromNTU(1);
Assert.True(v.Equals(Turbidity.FromNTU(1), NTUTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Turbidity.Zero, NTUTolerance, ComparisonType.Relative));
+ Assert.True(Turbidity.FromNTU(100).Equals(Turbidity.FromNTU(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Turbidity.FromNTU(100).Equals(Turbidity.FromNTU(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VitaminATestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VitaminATestsBase.g.cs
index eade4a13f4..b5b441fd08 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VitaminATestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VitaminATestsBase.g.cs
@@ -359,6 +359,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VitaminA.FromInternationalUnits(1);
Assert.True(v.Equals(VitaminA.FromInternationalUnits(1), InternationalUnitsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VitaminA.Zero, InternationalUnitsTolerance, ComparisonType.Relative));
+ Assert.True(VitaminA.FromInternationalUnits(100).Equals(VitaminA.FromInternationalUnits(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VitaminA.FromInternationalUnits(100).Equals(VitaminA.FromInternationalUnits(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeConcentrationTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeConcentrationTestsBase.g.cs
index e3f0c10976..e16ea143b3 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeConcentrationTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeConcentrationTestsBase.g.cs
@@ -1049,6 +1049,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VolumeConcentration.FromDecimalFractions(1);
Assert.True(v.Equals(VolumeConcentration.FromDecimalFractions(1), DecimalFractionsTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VolumeConcentration.Zero, DecimalFractionsTolerance, ComparisonType.Relative));
+ Assert.True(VolumeConcentration.FromDecimalFractions(100).Equals(VolumeConcentration.FromDecimalFractions(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VolumeConcentration.FromDecimalFractions(100).Equals(VolumeConcentration.FromDecimalFractions(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowPerAreaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowPerAreaTestsBase.g.cs
index 9fe1fa7c96..9d37229e6c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowPerAreaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowPerAreaTestsBase.g.cs
@@ -395,6 +395,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(1);
Assert.True(v.Equals(VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(1), CubicMetersPerSecondPerSquareMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VolumeFlowPerArea.Zero, CubicMetersPerSecondPerSquareMeterTolerance, ComparisonType.Relative));
+ Assert.True(VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(100).Equals(VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(100).Equals(VolumeFlowPerArea.FromCubicMetersPerSecondPerSquareMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowTestsBase.g.cs
index 7d1ecb2770..67b873aaf7 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeFlowTestsBase.g.cs
@@ -4966,6 +4966,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VolumeFlow.FromCubicMetersPerSecond(1);
Assert.True(v.Equals(VolumeFlow.FromCubicMetersPerSecond(1), CubicMetersPerSecondTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VolumeFlow.Zero, CubicMetersPerSecondTolerance, ComparisonType.Relative));
+ Assert.True(VolumeFlow.FromCubicMetersPerSecond(100).Equals(VolumeFlow.FromCubicMetersPerSecond(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VolumeFlow.FromCubicMetersPerSecond(100).Equals(VolumeFlow.FromCubicMetersPerSecond(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumePerLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumePerLengthTestsBase.g.cs
index 006ee6ab74..d6870ec9dc 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumePerLengthTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumePerLengthTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VolumePerLength.FromCubicMetersPerMeter(1);
Assert.True(v.Equals(VolumePerLength.FromCubicMetersPerMeter(1), CubicMetersPerMeterTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VolumePerLength.Zero, CubicMetersPerMeterTolerance, ComparisonType.Relative));
+ Assert.True(VolumePerLength.FromCubicMetersPerMeter(100).Equals(VolumePerLength.FromCubicMetersPerMeter(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VolumePerLength.FromCubicMetersPerMeter(100).Equals(VolumePerLength.FromCubicMetersPerMeter(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeTestsBase.g.cs
index d1252a6a5d..543cac4d1c 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumeTestsBase.g.cs
@@ -3235,6 +3235,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = Volume.FromCubicMeters(1);
Assert.True(v.Equals(Volume.FromCubicMeters(1), CubicMetersTolerance, ComparisonType.Relative));
Assert.False(v.Equals(Volume.Zero, CubicMetersTolerance, ComparisonType.Relative));
+ Assert.True(Volume.FromCubicMeters(100).Equals(Volume.FromCubicMeters(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(Volume.FromCubicMeters(100).Equals(Volume.FromCubicMeters(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumetricHeatCapacityTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumetricHeatCapacityTestsBase.g.cs
index 41555fb522..b1673ddde0 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/VolumetricHeatCapacityTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/VolumetricHeatCapacityTestsBase.g.cs
@@ -640,6 +640,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(1);
Assert.True(v.Equals(VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(1), JoulesPerCubicMeterKelvinTolerance, ComparisonType.Relative));
Assert.False(v.Equals(VolumetricHeatCapacity.Zero, JoulesPerCubicMeterKelvinTolerance, ComparisonType.Relative));
+ Assert.True(VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(100).Equals(VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(100).Equals(VolumetricHeatCapacity.FromJoulesPerCubicMeterKelvin(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/WarpingMomentOfInertiaTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/WarpingMomentOfInertiaTestsBase.g.cs
index 29709c0913..3effb09bec 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/WarpingMomentOfInertiaTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/WarpingMomentOfInertiaTestsBase.g.cs
@@ -679,6 +679,8 @@ public void Equals_RelativeTolerance_IsImplemented()
var v = WarpingMomentOfInertia.FromMetersToTheSixth(1);
Assert.True(v.Equals(WarpingMomentOfInertia.FromMetersToTheSixth(1), MetersToTheSixthTolerance, ComparisonType.Relative));
Assert.False(v.Equals(WarpingMomentOfInertia.Zero, MetersToTheSixthTolerance, ComparisonType.Relative));
+ Assert.True(WarpingMomentOfInertia.FromMetersToTheSixth(100).Equals(WarpingMomentOfInertia.FromMetersToTheSixth(120), (double)0.3m, ComparisonType.Relative));
+ Assert.False(WarpingMomentOfInertia.FromMetersToTheSixth(100).Equals(WarpingMomentOfInertia.FromMetersToTheSixth(120), (double)0.1m, ComparisonType.Relative));
}
[Fact]
diff --git a/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs b/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
index cb22bfe807..0120185d65 100644
--- a/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
@@ -856,7 +856,7 @@ public bool Equals(AbsorbedDoseOfIonizingRadiation other, double tolerance, Comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
index 70bb6e9a8a..244519d5f6 100644
--- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
@@ -817,7 +817,7 @@ public bool Equals(Acceleration other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
index 145a912165..2d0cc4ffc9 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
@@ -871,7 +871,7 @@ public bool Equals(AmountOfSubstance other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
index b0ecc173ec..b4f5cd6a77 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
@@ -645,7 +645,7 @@ public bool Equals(AmplitudeRatio other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
index 2eaea11a35..42293cdead 100644
--- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
@@ -853,7 +853,7 @@ public bool Equals(Angle other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
index b32dfc6579..871396504d 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
@@ -619,7 +619,7 @@ public bool Equals(ApparentEnergy other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
index 20d3bf1ff3..ec1cb0a92a 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
@@ -673,7 +673,7 @@ public bool Equals(ApparentPower other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Area.g.cs b/UnitsNet/GeneratedCode/Quantities/Area.g.cs
index d383ad05d8..d82ae6c6a1 100644
--- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Area.g.cs
@@ -817,7 +817,7 @@ public bool Equals(Area other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
index 39aae850dc..0ab4a5f1c5 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
@@ -619,7 +619,7 @@ public bool Equals(AreaDensity other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
index 18978f7d25..8f7273944f 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
@@ -673,7 +673,7 @@ public bool Equals(AreaMomentOfInertia other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
index e035509b30..2c8a455d25 100644
--- a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
@@ -1037,7 +1037,7 @@ public bool Equals(BitRate other, decimal tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
index 245cf0aa43..89864bb4c0 100644
--- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
@@ -619,7 +619,7 @@ public bool Equals(BrakeSpecificFuelConsumption other, double tolerance, Compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
index cba2176134..0117d2ed3c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
@@ -694,7 +694,7 @@ public bool Equals(Capacitance other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
index 12901f9949..6b0e080207 100644
--- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
@@ -733,7 +733,7 @@ public bool Equals(CoefficientOfThermalExpansion other, double tolerance, Compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs b/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
index c7dc0fa1b2..708021bee2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
@@ -691,7 +691,7 @@ public bool Equals(Compressibility other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Density.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
index 0ef2967c9e..063b1a8d89 100644
--- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
@@ -1576,7 +1576,7 @@ public bool Equals(Density other, double tolerance, ComparisonType comparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
index 4757a9fd0c..ed800dd9b2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
@@ -763,7 +763,7 @@ public bool Equals(Duration other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
index 7e55a0b697..18dfecfb33 100644
--- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
@@ -748,7 +748,7 @@ public bool Equals(DynamicViscosity other, double tolerance, ComparisonType comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
index 602646b4da..ddb125861a 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
@@ -637,7 +637,7 @@ public bool Equals(ElectricAdmittance other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
index 5cc6cd32a1..57472bf3e6 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
@@ -766,7 +766,7 @@ public bool Equals(ElectricCharge other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
index 35fecd31be..ad79fe0038 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
@@ -586,7 +586,7 @@ public bool Equals(ElectricChargeDensity other, double tolerance, ComparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
index 9913e5aadb..0718924b75 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
@@ -658,7 +658,7 @@ public bool Equals(ElectricConductance other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
index ecc6b7e729..38d1dcb096 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
@@ -676,7 +676,7 @@ public bool Equals(ElectricConductivity other, double tolerance, ComparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
index 1b6156977e..52c885dd1e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
@@ -727,7 +727,7 @@ public bool Equals(ElectricCurrent other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
index 76965700b7..affe140d48 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
@@ -622,7 +622,7 @@ public bool Equals(ElectricCurrentDensity other, double tolerance, ComparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
index 2034160562..1a1b05ea71 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
@@ -691,7 +691,7 @@ public bool Equals(ElectricCurrentGradient other, double tolerance, ComparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
index a51c6e9e7e..2d61d35a0f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
@@ -586,7 +586,7 @@ public bool Equals(ElectricField other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
index de893dd57e..777ee212b7 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
@@ -658,7 +658,7 @@ public bool Equals(ElectricInductance other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
index 4464a0b025..effecbf5b8 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
@@ -673,7 +673,7 @@ public bool Equals(ElectricPotential other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
index e91f43113f..bb85038da3 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
@@ -655,7 +655,7 @@ public bool Equals(ElectricPotentialAc other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
index 623b1889ed..7770f9cd9e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
@@ -925,7 +925,7 @@ public bool Equals(ElectricPotentialChangeRate other, double tolerance, Comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
index 737cf3d21e..9d7947af08 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
@@ -655,7 +655,7 @@ public bool Equals(ElectricPotentialDc other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
index 86b61368cb..633e4bd849 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
@@ -691,7 +691,7 @@ public bool Equals(ElectricResistance other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
index 34cd0e4e25..d29ed8ac62 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
@@ -820,7 +820,7 @@ public bool Equals(ElectricResistivity other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
index edb5abb798..04e0cc533b 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
@@ -622,7 +622,7 @@ public bool Equals(ElectricSurfaceChargeDensity other, double tolerance, Compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
index f70f812e4d..158baf6d26 100644
--- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
@@ -1285,7 +1285,7 @@ public bool Equals(Energy other, double tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
index b2c0c46945..5258148284 100644
--- a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
@@ -781,7 +781,7 @@ public bool Equals(EnergyDensity other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
index 99d8814060..ad3b0058d7 100644
--- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
@@ -691,7 +691,7 @@ public bool Equals(Entropy other, double tolerance, ComparisonType comparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Force.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.g.cs
index 8929f0956e..65b789eef4 100644
--- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Force.g.cs
@@ -835,7 +835,7 @@ public bool Equals(Force other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
index 974f952c80..bcc487a9e0 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
@@ -835,7 +835,7 @@ public bool Equals(ForceChangeRate other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
index ca695a0193..eaadc63bf0 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
@@ -1249,7 +1249,7 @@ public bool Equals(ForcePerLength other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
index 0777c1c0e9..0a9fc024ad 100644
--- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
@@ -799,7 +799,7 @@ public bool Equals(Frequency other, double tolerance, ComparisonType comparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
index e97f3d44ef..45ed07045d 100644
--- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
@@ -640,7 +640,7 @@ public bool Equals(FuelEfficiency other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
index b18e32c993..4844af658c 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
@@ -889,7 +889,7 @@ public bool Equals(HeatFlux other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
index 02404bd9c0..9e2a1799b2 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
@@ -675,7 +675,7 @@ public bool Equals(HeatTransferCoefficient other, double tolerance, ComparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
index bc9efb1097..4303fa731b 100644
--- a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
@@ -640,7 +640,7 @@ public bool Equals(Illuminance other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
index ad7ccac647..be41dc471b 100644
--- a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
@@ -799,7 +799,7 @@ public bool Equals(Impulse other, double tolerance, ComparisonType comparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Information.g.cs b/UnitsNet/GeneratedCode/Quantities/Information.g.cs
index e2b0cdc1d6..6ccb5bf342 100644
--- a/UnitsNet/GeneratedCode/Quantities/Information.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Information.g.cs
@@ -1034,7 +1034,7 @@ public bool Equals(Information other, decimal tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
index 3791551a02..46d21db381 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
@@ -817,7 +817,7 @@ public bool Equals(Irradiance other, double tolerance, ComparisonType comparison
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
index d7223ed47b..f7058c1831 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
@@ -730,7 +730,7 @@ public bool Equals(Irradiation other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs b/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
index 70e7fb824d..ae8ae08bac 100644
--- a/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
@@ -763,7 +763,7 @@ public bool Equals(Jerk other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
index 9dc7c15d8a..43b20285e1 100644
--- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
@@ -730,7 +730,7 @@ public bool Equals(KinematicViscosity other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
index 41a9e3d36e..4d4fdef11e 100644
--- a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
@@ -622,7 +622,7 @@ public bool Equals(LeakRate other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Length.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
index f6bd837fc1..1364888619 100644
--- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
@@ -1321,7 +1321,7 @@ public bool Equals(Length other, double tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Level.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.g.cs
index ddd5669a81..c98b10d57c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Level.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Level.g.cs
@@ -609,7 +609,7 @@ public bool Equals(Level other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
index 6ac14228e4..4f8a03ba29 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
@@ -820,7 +820,7 @@ public bool Equals(LinearDensity other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
index 1e423dfb9d..bd32306b68 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
@@ -1018,7 +1018,7 @@ public bool Equals(LinearPowerDensity other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
index c66f06b940..9f30879126 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
@@ -748,7 +748,7 @@ public bool Equals(Luminance other, double tolerance, ComparisonType comparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
index 196d338cdb..23e4819c41 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
@@ -820,7 +820,7 @@ public bool Equals(Luminosity other, double tolerance, ComparisonType comparison
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
index 782e71b47a..cc09eb54cf 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
@@ -586,7 +586,7 @@ public bool Equals(LuminousFlux other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
index 591dfafff7..132acdb143 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
@@ -586,7 +586,7 @@ public bool Equals(LuminousIntensity other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
index 51af5f3986..13ca48d0ab 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
@@ -676,7 +676,7 @@ public bool Equals(MagneticField other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
index dee56f674e..4b65dc369f 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
@@ -586,7 +586,7 @@ public bool Equals(MagneticFlux other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
index c78628a5e6..049b8a2c93 100644
--- a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
@@ -586,7 +586,7 @@ public bool Equals(Magnetization other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
index 96e577a094..11741cbb4c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
@@ -1051,7 +1051,7 @@ public bool Equals(Mass other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
index 35da602028..721c061919 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
@@ -1450,7 +1450,7 @@ public bool Equals(MassConcentration other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
index cfed0f6d94..d43fa1a14a 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
@@ -1159,7 +1159,7 @@ public bool Equals(MassFlow other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
index 96c735e1e5..9616879d4a 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
@@ -781,7 +781,7 @@ public bool Equals(MassFlux other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
index 2fba7193ec..0e14623d0e 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
@@ -1000,7 +1000,7 @@ public bool Equals(MassFraction other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
index ee08517837..afdbd2213d 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
@@ -1069,7 +1069,7 @@ public bool Equals(MassMomentOfInertia other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Molality.g.cs b/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
index 8656253ed0..851c31ad8f 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
@@ -604,7 +604,7 @@ public bool Equals(Molality other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
index 51dcd82796..0c2f38082f 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
@@ -619,7 +619,7 @@ public bool Equals(MolarEnergy other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
index 128301b121..99251f1514 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
@@ -619,7 +619,7 @@ public bool Equals(MolarEntropy other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
index 4a10b43681..c62613fdbb 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
@@ -727,7 +727,7 @@ public bool Equals(MolarFlow other, double tolerance, ComparisonType comparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
index 2065e9e561..849c51fae0 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
@@ -799,7 +799,7 @@ public bool Equals(MolarMass other, double tolerance, ComparisonType comparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
index 49f086827c..3c4a93e44f 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
@@ -766,7 +766,7 @@ public bool Equals(Molarity other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
index ffc58c0a3d..592aecb4fe 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
@@ -586,7 +586,7 @@ public bool Equals(Permeability other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
index 8ef33bde85..763007ffb4 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
@@ -586,7 +586,7 @@ public bool Equals(Permittivity other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs b/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
index 33f4619252..470defa5a1 100644
--- a/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
@@ -658,7 +658,7 @@ public bool Equals(PorousMediumPermeability other, double tolerance, ComparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
index 6368125995..25f0bfcb78 100644
--- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
@@ -1034,7 +1034,7 @@ public bool Equals(Power other, decimal tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
index 66fd5cdec0..157cb8edaf 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
@@ -1357,7 +1357,7 @@ public bool Equals(PowerDensity other, double tolerance, ComparisonType comparis
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
index f56e4c5018..157c1ff6df 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
@@ -609,7 +609,7 @@ public bool Equals(PowerRatio other, double tolerance, ComparisonType comparison
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
index 084ac40d05..ab89e612c9 100644
--- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
@@ -1447,7 +1447,7 @@ public bool Equals(Pressure other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
index fdc12cfb78..2cacce626d 100644
--- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
@@ -889,7 +889,7 @@ public bool Equals(PressureChangeRate other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RadiationEquivalentDose.g.cs b/UnitsNet/GeneratedCode/Quantities/RadiationEquivalentDose.g.cs
index 646f55459b..4c6b49942a 100644
--- a/UnitsNet/GeneratedCode/Quantities/RadiationEquivalentDose.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RadiationEquivalentDose.g.cs
@@ -673,7 +673,7 @@ public bool Equals(RadiationEquivalentDose other, double tolerance, ComparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs b/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
index 84d2f7f77f..67012ecc31 100644
--- a/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
@@ -709,7 +709,7 @@ public bool Equals(RadiationExposure other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
index 79a0d64373..cbe64282d4 100644
--- a/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
@@ -1087,7 +1087,7 @@ public bool Equals(Radioactivity other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
index da4a149af3..8061046539 100644
--- a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
@@ -673,7 +673,7 @@ public bool Equals(Ratio other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
index 269b4634e9..47adb71c36 100644
--- a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
@@ -601,7 +601,7 @@ public bool Equals(RatioChangeRate other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
index 94efaa325f..31ab9b2559 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
@@ -619,7 +619,7 @@ public bool Equals(ReactiveEnergy other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
index 9da1b6e288..d6455d3754 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
@@ -637,7 +637,7 @@ public bool Equals(ReactivePower other, double tolerance, ComparisonType compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
index 8cecbd2ce8..b8bcd8e96f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
@@ -766,7 +766,7 @@ public bool Equals(ReciprocalArea other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
index b21fa27370..db190304f1 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
@@ -748,7 +748,7 @@ public bool Equals(ReciprocalLength other, double tolerance, ComparisonType comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
index a458c189e3..6a7c7ac940 100644
--- a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
@@ -583,7 +583,7 @@ public bool Equals(RelativeHumidity other, double tolerance, ComparisonType comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
index 5221abdcc5..a647200c7a 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
@@ -637,7 +637,7 @@ public bool Equals(RotationalAcceleration other, double tolerance, ComparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
index 86086b1708..ea6f5c86ac 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
@@ -799,7 +799,7 @@ public bool Equals(RotationalSpeed other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
index 845ffcddf0..f2482992f9 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
@@ -1159,7 +1159,7 @@ public bool Equals(RotationalStiffness other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
index 574a76688a..f8fcbb1eb2 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
@@ -655,7 +655,7 @@ public bool Equals(RotationalStiffnessPerLength other, double tolerance, Compari
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs b/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
index c7d5fcf795..5f94ea764c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
@@ -583,7 +583,7 @@ public bool Equals(Scalar other, double tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
index 465231b30e..1d07dbf29c 100644
--- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
@@ -586,7 +586,7 @@ public bool Equals(SolidAngle other, double tolerance, ComparisonType comparison
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
index 0cfca2f119..8b24dbef86 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
@@ -1108,7 +1108,7 @@ public bool Equals(SpecificEnergy other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
index 4b0f47fc1b..7844f819fb 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
@@ -727,7 +727,7 @@ public bool Equals(SpecificEntropy other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
index fa08c13bf7..b5b4c565a3 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
@@ -640,7 +640,7 @@ public bool Equals(SpecificFuelConsumption other, double tolerance, ComparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
index 096429f64e..0c4d74b61d 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
@@ -619,7 +619,7 @@ public bool Equals(SpecificVolume other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
index b3923d3eed..4d53c2f0a1 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
@@ -874,7 +874,7 @@ public bool Equals(SpecificWeight other, double tolerance, ComparisonType compar
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
index 70e790cbae..32fb772beb 100644
--- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
@@ -1159,7 +1159,7 @@ public bool Equals(Speed other, double tolerance, ComparisonType comparisonType)
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
index b0d7805eba..ee1e6b4bdc 100644
--- a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
@@ -727,7 +727,7 @@ public bool Equals(StandardVolumeFlow other, double tolerance, ComparisonType co
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
index d58704de6e..3a7955e5b3 100644
--- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
@@ -696,7 +696,7 @@ public bool Equals(Temperature other, double tolerance, ComparisonType compariso
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
index e68e62a2fd..3c23a22401 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
@@ -745,7 +745,7 @@ public bool Equals(TemperatureChangeRate other, double tolerance, ComparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
index e829c089d0..275dd4a2df 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
@@ -727,7 +727,7 @@ public bool Equals(TemperatureDelta other, double tolerance, ComparisonType comp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
index 8d911ecd33..39673a85da 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
@@ -637,7 +637,7 @@ public bool Equals(TemperatureGradient other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
index c2f76d6cf8..5ea707ab1d 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
@@ -604,7 +604,7 @@ public bool Equals(ThermalConductivity other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
index b3e219eeb7..4a24fa75a9 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
@@ -673,7 +673,7 @@ public bool Equals(ThermalResistance other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
index 64335bbb17..e116c53043 100644
--- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
@@ -1015,7 +1015,7 @@ public bool Equals(Torque other, double tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
index 07813e3757..6fd6dfe9d2 100644
--- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
@@ -943,7 +943,7 @@ public bool Equals(TorquePerLength other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
index edd6a2cad0..1732dacf65 100644
--- a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
@@ -586,7 +586,7 @@ public bool Equals(Turbidity other, double tolerance, ComparisonType comparisonT
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
index 51f6a4559d..148d9257b3 100644
--- a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
@@ -583,7 +583,7 @@ public bool Equals(VitaminA other, double tolerance, ComparisonType comparisonTy
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
index fb90d6fe18..e4d20cbced 100644
--- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
@@ -1537,7 +1537,7 @@ public bool Equals(Volume other, double tolerance, ComparisonType comparisonType
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
index 667edba284..511fe12ff1 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
@@ -928,7 +928,7 @@ public bool Equals(VolumeConcentration other, double tolerance, ComparisonType c
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
index 800fd177bd..f51f4d5c88 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
@@ -1915,7 +1915,7 @@ public bool Equals(VolumeFlow other, double tolerance, ComparisonType comparison
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
index 73517225dc..060343548a 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
@@ -601,7 +601,7 @@ public bool Equals(VolumeFlowPerArea other, double tolerance, ComparisonType com
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
index 52788a9ea7..a77d2fd811 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
@@ -727,7 +727,7 @@ public bool Equals(VolumePerLength other, double tolerance, ComparisonType compa
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
index c379572ee3..fafc4e9724 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
@@ -730,7 +730,7 @@ public bool Equals(VolumetricHeatCapacity other, double tolerance, ComparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///
diff --git a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
index 0c71b01e94..63c7b61f23 100644
--- a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
@@ -673,7 +673,7 @@ public bool Equals(WarpingMomentOfInertia other, double tolerance, ComparisonTyp
referenceValue: this.Value,
otherValue: other.As(this.Unit),
tolerance: tolerance,
- comparisonType: ComparisonType.Absolute);
+ comparisonType: comparisonType);
}
///