Skip to content

Commit d05366d

Browse files
authored
Add pound per foot second (#806)
Co-authored-by: Michael Feliciano <[email protected]>
1 parent e7cc5b3 commit d05366d

File tree

12 files changed

+79
-3
lines changed

12 files changed

+79
-3
lines changed

Common/UnitDefinitions/DynamicViscosity.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@
8282
"Abbreviations": [ "lbf·s/ft²" ]
8383
}
8484
]
85+
},
86+
{
87+
"SingularName": "PoundPerFootSecond",
88+
"PluralName": "PoundsPerFootSecond",
89+
"FromUnitToBaseFunc": "x * 1.4881639",
90+
"FromBaseToUnitFunc": "x / 1.4881639",
91+
"Localization": [
92+
{
93+
"Culture": "en-US",
94+
"Abbreviations": [ "lb/ft·s" ]
95+
}
96+
]
8597
}
8698
]
8799
}

UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToDynamicViscosityExtensionsTest.g.cs

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NumberExtensions/GeneratedCode/NumberToDynamicViscosityExtensions.g.cs

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.Tests/CustomCode/DynamicViscosityTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public class DynamicViscosityTests : DynamicViscosityTestsBase
1414
protected override double NewtonSecondsPerMeterSquaredInOneNewtonSecondPerMeterSquared => 1;
1515
protected override double PascalSecondsInOneNewtonSecondPerMeterSquared => 1;
1616
protected override double PoiseInOneNewtonSecondPerMeterSquared => 10;
17+
protected override double PoundsPerFootSecondInOneNewtonSecondPerMeterSquared => 0.671968994813;
1718
protected override double ReynsInOneNewtonSecondPerMeterSquared => 1.4503773773020922e-4;
1819
protected override double PoundsForceSecondPerSquareInchInOneNewtonSecondPerMeterSquared => 1.4503773773020922e-4;
1920
protected override double PoundsForceSecondPerSquareFootInOneNewtonSecondPerMeterSquared => 2.0885434233150127e-2;

UnitsNet.Tests/GeneratedCode/TestsBase/DynamicViscosityTestsBase.g.cs

Lines changed: 18 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/DynamicViscosity.g.cs

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Units/DynamicViscosityUnit.g.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)