Skip to content
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
16 changes: 16 additions & 0 deletions Common/UnitDefinitions/Speed.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,22 @@
"Abbreviations": [ "миль/ч" ]
}
]
},
{
"SingularName": "Mach",
"PluralName": "Mach",
"FromUnitToBaseFunc": "{x} * 340.29",
"FromBaseToUnitFunc": "{x} / 340.29",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "M", "Ma", "MN", "MACH" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "мах" ]
}
]
}
]
}
3 changes: 2 additions & 1 deletion Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,8 @@
"UsSurveyFootPerSecond": 29,
"YardPerHour": 30,
"YardPerMinute": 31,
"YardPerSecond": 32
"YardPerSecond": 32,
"Mach": 42
},
"StandardVolumeFlow": {
"StandardCubicCentimeterPerMinute": 1,
Expand Down
13 changes: 13 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/Speed.g.cs

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

1 change: 1 addition & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Units/SpeedUnit.g.cs

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.

2 changes: 2 additions & 0 deletions UnitsNet.Tests/CustomCode/SpeedTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public class SpeedTests : SpeedTestsBase

protected override double UsSurveyFeetPerHourInOneMeterPerSecond => 1.1811E4;

protected override double MachInOneMeterPerSecond =>2.9386699579770E-3;

[Fact]
public void DurationSpeedTimesEqualsLength()
{
Expand Down
235 changes: 184 additions & 51 deletions UnitsNet.Tests/GeneratedCode/TestsBase/SpeedTestsBase.g.cs

Large diffs are not rendered by default.

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.

20 changes: 20 additions & 0 deletions UnitsNet/GeneratedCode/Quantities/Speed.g.cs

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

1 change: 1 addition & 0 deletions UnitsNet/GeneratedCode/Units/SpeedUnit.g.cs

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