Skip to content

Commit

Permalink
Rename SpecificFuelConsumption.GramPerKiloNewtonSecond to GramPerKilo…
Browse files Browse the repository at this point in the history
…newtonSecond (#1491)

Rename `SpecificFuelConsumption.GramPerKiloNewtonSecond` to
`GramPerKilonewtonSecond` (part of #1200)
  • Loading branch information
lipchev authored Jan 19, 2025
1 parent 9fb882e commit 4431e85
Show file tree
Hide file tree
Showing 11 changed files with 207 additions and 207 deletions.
6 changes: 3 additions & 3 deletions Common/UnitDefinitions/SpecificFuelConsumption.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Name": "SpecificFuelConsumption",
"BaseUnit": "GramPerKiloNewtonSecond",
"BaseUnit": "GramPerKilonewtonSecond",
"XmlDocSummary": "SFC is the fuel efficiency of an engine design with respect to thrust output",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Thrust-specific_fuel_consumption",
"BaseDimensions": {
Expand Down Expand Up @@ -33,8 +33,8 @@
]
},
{
"SingularName": "GramPerKiloNewtonSecond",
"PluralName": "GramsPerKiloNewtonSecond",
"SingularName": "GramPerKilonewtonSecond",
"PluralName": "GramsPerKilonewtonSecond",
"BaseUnits": {
"L": "Meter",
"T": "Second"
Expand Down
4 changes: 2 additions & 2 deletions Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -1331,9 +1331,9 @@
"MegajoulePerKilogramKelvin": 9
},
"SpecificFuelConsumption": {
"GramPerKiloNewtonSecond": 1,
"GramPerKilonewtonSecond": 1,
"KilogramPerKilogramForceHour": 2,
"KilogramPerKiloNewtonSecond": 3,
"KilogramPerKilonewtonSecond": 3,
"PoundMassPerPoundForceHour": 4
},
"SpecificVolume": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions UnitsNet.Tests/CustomCode/SpecificFuelConsumptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public class SpecificFuelConsumptionTests : SpecificFuelConsumptionTestsBase
// Override properties in base class here
protected override bool SupportsSIUnitSystem => false;

protected override double GramsPerKiloNewtonSecondInOneGramPerKiloNewtonSecond => 1;
protected override double GramsPerKilonewtonSecondInOneGramPerKilonewtonSecond => 1;

protected override double KilogramsPerKiloNewtonSecondInOneGramPerKiloNewtonSecond => 1e-3;
protected override double KilogramsPerKilonewtonSecondInOneGramPerKilonewtonSecond => 1e-3;

protected override double PoundsMassPerPoundForceHourInOneGramPerKiloNewtonSecond => 0.03529827;
protected override double PoundsMassPerPoundForceHourInOneGramPerKilonewtonSecond => 0.03529827;

protected override double KilogramsPerKilogramForceHourInOneGramPerKiloNewtonSecond => 0.03529827;
protected override double KilogramsPerKilogramForceHourInOneGramPerKilonewtonSecond => 0.03529827;
}
}
Loading

0 comments on commit 4431e85

Please sign in to comment.