Skip to content

Commit 754c5f7

Browse files
committed
removed the property from the recently added FluidResistanceTests and fixed the comment in the QuantityTestsBase
1 parent 2d4f92d commit 754c5f7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

UnitsNet.Tests/CustomCode/FluidResistanceTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class FluidResistanceTests : FluidResistanceTestsBase
2525
{
2626
// https://www.vcalc.com/wiki/Fluid-Resistance-Unit-Conversion
2727

28-
protected override bool SupportsSIUnitSystem => true;
2928
protected override double DyneSecondsPerCentimeterToTheFifthInOnePascalSecondPerCubicMeter => 1e-5; // dyn·s/cm⁵
3029
protected override double MegapascalSecondsPerCubicMeterInOnePascalSecondPerCubicMeter => 1e-6; // MPa·s/m³
3130
protected override double MillimeterMercuryMinutesPerCubicCentimeterInOnePascalSecondPerCubicMeter => 1.25010625903202e-10; // mmHg·min/cm³

UnitsNet.Tests/CustomCode/TestsBase/QuantityTestsBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ public abstract class QuantityTestsBase
66
{
77
/// <summary>
88
/// Whether this quantity has one or more units compatible with <see cref="UnitSystem.SI"/>.
9-
/// This is used to test whether methods methods accepting this unit system value will throw an exception or produce a value.
9+
/// This is used to test whether methods accepting this unit system value will throw an exception or produce a value.
1010
/// </summary>
11-
protected virtual bool SupportsSIUnitSystem { get; } = true;
11+
protected virtual bool SupportsSIUnitSystem => true;
1212

1313
/// <summary>
1414
/// Gets a predefined instance of <see cref="BaseUnits" /> representing unsupported or invalid base units.

0 commit comments

Comments
 (0)