Skip to content

Commit 3a62360

Browse files
authored
Removing the FrequencyUnit.BUnit (#1529)
Removing the `FrequencyUnit.BUnit`. As discussed in #1393 (comment)
1 parent 78dc1c2 commit 3a62360

File tree

10 files changed

+33
-129
lines changed

10 files changed

+33
-129
lines changed

Common/UnitDefinitions/Frequency.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,6 @@
108108
"Abbreviations": [ "с⁻¹" ]
109109
}
110110
]
111-
},
112-
{
113-
"SingularName": "BUnit",
114-
"PluralName": "BUnits",
115-
"FromUnitToBaseFunc": "Math.Sqrt({x} * 1e3)",
116-
"FromBaseToUnitFunc": "{x} * {x} * 1e-3",
117-
"Localization": [
118-
{
119-
"Culture": "en-US",
120-
"Abbreviations": [ "B Units" ]
121-
}
122-
]
123111
}
124112
]
125113
}

UnitsNet.NanoFramework/GeneratedCode/Quantities/Frequency.g.cs

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

UnitsNet.NanoFramework/GeneratedCode/Units/FrequencyUnit.g.cs

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

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

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

UnitsNet.NumberExtensions/GeneratedCode/NumberToFrequencyExtensions.g.cs

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

UnitsNet.Tests/CustomCode/FrequencyTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@ public class FrequencyTests : FrequencyTestsBase
3232
protected override double RadiansPerSecondInOneHertz => 2 * Math.PI;
3333

3434
protected override double BeatsPerMinuteInOneHertz => 60;
35-
36-
protected override double BUnitsInOneHertz => 0.001;
3735
}
3836
}

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

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

0 commit comments

Comments
 (0)