Skip to content

Commit

Permalink
Fix typo in MassMomentOfInertia.TonneSquareMilimeter (#1490)
Browse files Browse the repository at this point in the history
Renaming `MassMomentOfInertia.TonneSquareMilimeter` to
`MassMomentOfInertia.TonneSquareMillimeter` (as part of #1200 )
  • Loading branch information
lipchev authored Jan 4, 2025
1 parent 9090623 commit ddf6134
Show file tree
Hide file tree
Showing 12 changed files with 153 additions and 153 deletions.
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/MassMomentOfInertia.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
]
},
{
"SingularName": "TonneSquareMilimeter",
"PluralName": "TonneSquareMilimeters",
"SingularName": "TonneSquareMillimeter",
"PluralName": "TonneSquareMillimeters",
"BaseUnits": {
"L": "Millimeter",
"M": "Tonne"
Expand Down
6 changes: 3 additions & 3 deletions Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,11 @@
"KilotonneSquareCentimeter": 9,
"KilotonneSquareDecimeter": 10,
"KilotonneSquareMeter": 11,
"KilotonneSquareMilimeter": 12,
"KilotonneSquareMillimeter": 12,
"MegatonneSquareCentimeter": 13,
"MegatonneSquareDecimeter": 14,
"MegatonneSquareMeter": 15,
"MegatonneSquareMilimeter": 16,
"MegatonneSquareMillimeter": 16,
"MilligramSquareCentimeter": 17,
"MilligramSquareDecimeter": 18,
"MilligramSquareMeter": 19,
Expand All @@ -965,7 +965,7 @@
"TonneSquareCentimeter": 25,
"TonneSquareDecimeter": 26,
"TonneSquareMeter": 27,
"TonneSquareMilimeter": 28
"TonneSquareMillimeter": 28
},
"MolarEnergy": {
"JoulePerMole": 1,
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.

6 changes: 3 additions & 3 deletions UnitsNet.Tests/CustomCode/MassMomentOfInertiaTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ public class MassMomentOfInertiaTests : MassMomentOfInertiaTestsBase

protected override double KilotonneSquareMetersInOneKilogramSquareMeter => 1e-6;

protected override double KilotonneSquareMilimetersInOneKilogramSquareMeter => 1e0;
protected override double KilotonneSquareMillimetersInOneKilogramSquareMeter => 1e0;

protected override double MegatonneSquareCentimetersInOneKilogramSquareMeter => 1e-5;

protected override double MegatonneSquareDecimetersInOneKilogramSquareMeter => 1e-7;

protected override double MegatonneSquareMetersInOneKilogramSquareMeter => 1e-9;

protected override double MegatonneSquareMilimetersInOneKilogramSquareMeter => 1e-3;
protected override double MegatonneSquareMillimetersInOneKilogramSquareMeter => 1e-3;

protected override double TonneSquareCentimetersInOneKilogramSquareMeter => 1e1;

protected override double TonneSquareDecimetersInOneKilogramSquareMeter => 1e-1;

protected override double TonneSquareMetersInOneKilogramSquareMeter => 1e-3;

protected override double TonneSquareMilimetersInOneKilogramSquareMeter => 1e3;
protected override double TonneSquareMillimetersInOneKilogramSquareMeter => 1e3;
}
}
2 changes: 1 addition & 1 deletion UnitsNet.Tests/GeneratedCode/IQuantityTests.g.cs

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

Loading

0 comments on commit ddf6134

Please sign in to comment.