Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename SpecificFuelConsumption.GramPerKiloNewtonSecond to GramPerKilonewtonSecond #1491

Merged
merged 4 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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