Skip to content

Commit b7fcf4b

Browse files
tweet1992angularsen
authored andcommitted
Adding KiloLiters and PoundsPerMinute (#533)
Conversion for pound to minute here: http://www.kylesconverter.com/mass-flow/grams-per-second-to-pounds-per-minute
1 parent 29cbadf commit b7fcf4b

File tree

14 files changed

+225
-2
lines changed

14 files changed

+225
-2
lines changed

Common/GeneratedCode/Quantities/MassFlow.Common.g.cs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ public static BaseDimensions BaseDimensions
201201
/// </summary>
202202
public double MegapoundsPerHour => As(MassFlowUnit.MegapoundPerHour);
203203

204+
/// <summary>
205+
/// Get MassFlow in MegapoundsPerMinute.
206+
/// </summary>
207+
public double MegapoundsPerMinute => As(MassFlowUnit.MegapoundPerMinute);
208+
204209
/// <summary>
205210
/// Get MassFlow in MicrogramsPerSecond.
206211
/// </summary>
@@ -221,6 +226,11 @@ public static BaseDimensions BaseDimensions
221226
/// </summary>
222227
public double PoundsPerHour => As(MassFlowUnit.PoundPerHour);
223228

229+
/// <summary>
230+
/// Get MassFlow in PoundsPerMinute.
231+
/// </summary>
232+
public double PoundsPerMinute => As(MassFlowUnit.PoundPerMinute);
233+
224234
/// <summary>
225235
/// Get MassFlow in ShortTonsPerHour.
226236
/// </summary>
@@ -357,6 +367,20 @@ public static MassFlow FromMegapoundsPerHour(QuantityValue megapoundsperhour)
357367
return new MassFlow(value, MassFlowUnit.MegapoundPerHour);
358368
}
359369

370+
/// <summary>
371+
/// Get MassFlow from MegapoundsPerMinute.
372+
/// </summary>
373+
#if WINDOWS_UWP
374+
[Windows.Foundation.Metadata.DefaultOverload]
375+
public static MassFlow FromMegapoundsPerMinute(double megapoundsperminute)
376+
#else
377+
public static MassFlow FromMegapoundsPerMinute(QuantityValue megapoundsperminute)
378+
#endif
379+
{
380+
double value = (double) megapoundsperminute;
381+
return new MassFlow(value, MassFlowUnit.MegapoundPerMinute);
382+
}
383+
360384
/// <summary>
361385
/// Get MassFlow from MicrogramsPerSecond.
362386
/// </summary>
@@ -413,6 +437,20 @@ public static MassFlow FromPoundsPerHour(QuantityValue poundsperhour)
413437
return new MassFlow(value, MassFlowUnit.PoundPerHour);
414438
}
415439

440+
/// <summary>
441+
/// Get MassFlow from PoundsPerMinute.
442+
/// </summary>
443+
#if WINDOWS_UWP
444+
[Windows.Foundation.Metadata.DefaultOverload]
445+
public static MassFlow FromPoundsPerMinute(double poundsperminute)
446+
#else
447+
public static MassFlow FromPoundsPerMinute(QuantityValue poundsperminute)
448+
#endif
449+
{
450+
double value = (double) poundsperminute;
451+
return new MassFlow(value, MassFlowUnit.PoundPerMinute);
452+
}
453+
416454
/// <summary>
417455
/// Get MassFlow from ShortTonsPerHour.
418456
/// </summary>
@@ -635,10 +673,12 @@ private double AsBaseUnit()
635673
case MassFlowUnit.KilogramPerHour: return _value/3.6;
636674
case MassFlowUnit.KilogramPerSecond: return (_value) * 1e3d;
637675
case MassFlowUnit.MegapoundPerHour: return (_value/7.93664) * 1e6d;
676+
case MassFlowUnit.MegapoundPerMinute: return (_value/0.132277) * 1e6d;
638677
case MassFlowUnit.MicrogramPerSecond: return (_value) * 1e-6d;
639678
case MassFlowUnit.MilligramPerSecond: return (_value) * 1e-3d;
640679
case MassFlowUnit.NanogramPerSecond: return (_value) * 1e-9d;
641680
case MassFlowUnit.PoundPerHour: return _value/7.93664;
681+
case MassFlowUnit.PoundPerMinute: return _value/0.132277;
642682
case MassFlowUnit.ShortTonPerHour: return _value*251.9957611;
643683
case MassFlowUnit.TonnePerDay: return _value/0.0864000;
644684
case MassFlowUnit.TonnePerHour: return 1000*_value/3.6;
@@ -664,10 +704,12 @@ private double AsBaseNumericType(MassFlowUnit unit)
664704
case MassFlowUnit.KilogramPerHour: return baseUnitValue*3.6;
665705
case MassFlowUnit.KilogramPerSecond: return (baseUnitValue) / 1e3d;
666706
case MassFlowUnit.MegapoundPerHour: return (baseUnitValue*7.93664) / 1e6d;
707+
case MassFlowUnit.MegapoundPerMinute: return (baseUnitValue*0.132277) / 1e6d;
667708
case MassFlowUnit.MicrogramPerSecond: return (baseUnitValue) / 1e-6d;
668709
case MassFlowUnit.MilligramPerSecond: return (baseUnitValue) / 1e-3d;
669710
case MassFlowUnit.NanogramPerSecond: return (baseUnitValue) / 1e-9d;
670711
case MassFlowUnit.PoundPerHour: return baseUnitValue*7.93664;
712+
case MassFlowUnit.PoundPerMinute: return baseUnitValue*0.132277;
671713
case MassFlowUnit.ShortTonPerHour: return baseUnitValue/251.9957611;
672714
case MassFlowUnit.TonnePerDay: return baseUnitValue*0.0864000;
673715
case MassFlowUnit.TonnePerHour: return baseUnitValue*3.6/1000;

Common/GeneratedCode/Quantities/Volume.Common.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ public static BaseDimensions BaseDimensions
271271
/// </summary>
272272
public double KiloimperialGallons => As(VolumeUnit.KiloimperialGallon);
273273

274+
/// <summary>
275+
/// Get Volume in Kiloliters.
276+
/// </summary>
277+
public double Kiloliters => As(VolumeUnit.Kiloliter);
278+
274279
/// <summary>
275280
/// Get Volume in KilousGallons.
276281
/// </summary>
@@ -700,6 +705,20 @@ public static Volume FromKiloimperialGallons(QuantityValue kiloimperialgallons)
700705
return new Volume(value, VolumeUnit.KiloimperialGallon);
701706
}
702707

708+
/// <summary>
709+
/// Get Volume from Kiloliters.
710+
/// </summary>
711+
#if WINDOWS_UWP
712+
[Windows.Foundation.Metadata.DefaultOverload]
713+
public static Volume FromKiloliters(double kiloliters)
714+
#else
715+
public static Volume FromKiloliters(QuantityValue kiloliters)
716+
#endif
717+
{
718+
double value = (double) kiloliters;
719+
return new Volume(value, VolumeUnit.Kiloliter);
720+
}
721+
703722
/// <summary>
704723
/// Get Volume from KilousGallons.
705724
/// </summary>
@@ -1204,6 +1223,7 @@ private double AsBaseUnit()
12041223
case VolumeUnit.KilocubicFoot: return (_value*0.0283168) * 1e3d;
12051224
case VolumeUnit.KilocubicMeter: return (_value) * 1e3d;
12061225
case VolumeUnit.KiloimperialGallon: return (_value*0.00454609000000181429905810072407) * 1e3d;
1226+
case VolumeUnit.Kiloliter: return (_value/1e3) * 1e3d;
12071227
case VolumeUnit.KilousGallon: return (_value*0.00378541) * 1e3d;
12081228
case VolumeUnit.Liter: return _value/1e3;
12091229
case VolumeUnit.MegacubicFoot: return (_value*0.0283168) * 1e6d;
@@ -1262,6 +1282,7 @@ private double AsBaseNumericType(VolumeUnit unit)
12621282
case VolumeUnit.KilocubicFoot: return (baseUnitValue/0.0283168) / 1e3d;
12631283
case VolumeUnit.KilocubicMeter: return (baseUnitValue) / 1e3d;
12641284
case VolumeUnit.KiloimperialGallon: return (baseUnitValue/0.00454609000000181429905810072407) / 1e3d;
1285+
case VolumeUnit.Kiloliter: return (baseUnitValue*1e3) / 1e3d;
12651286
case VolumeUnit.KilousGallon: return (baseUnitValue/0.00378541) / 1e3d;
12661287
case VolumeUnit.Liter: return baseUnitValue*1e3;
12671288
case VolumeUnit.MegacubicFoot: return (baseUnitValue/0.0283168) / 1e6d;

Common/UnitDefinitions/MassFlow.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,19 @@
6060
"Abbreviations": [ "lb/h" ]
6161
}
6262
]
63+
},
64+
{
65+
"SingularName": "PoundPerMinute",
66+
"PluralName": "PoundsPerMinute",
67+
"FromUnitToBaseFunc": "x/0.132277",
68+
"FromBaseToUnitFunc": "x*0.132277",
69+
"Prefixes": [ "Mega" ],
70+
"Localization": [
71+
{
72+
"Culture": "en-US",
73+
"Abbreviations": [ "lb/min" ]
74+
}
75+
]
6376
},
6477
{
6578
"SingularName": "TonnePerDay",

Common/UnitDefinitions/Volume.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"PluralName": "Liters",
1212
"FromUnitToBaseFunc": "x/1e3",
1313
"FromBaseToUnitFunc": "x*1e3",
14-
"Prefixes": [ "Micro", "Milli", "Centi", "Deci", "Hecto" ],
14+
"Prefixes": [ "Micro", "Milli", "Centi", "Deci", "Hecto", "Kilo" ],
1515
"Localization": [
1616
{
1717
"Culture": "en-US",
@@ -20,7 +20,7 @@
2020
{
2121
"Culture": "ru-RU",
2222
"Abbreviations": [ "л" ],
23-
"AbbreviationsWithPrefixes": [ "мкл", "мл", "сл", "дл", "гл" ]
23+
"AbbreviationsWithPrefixes": [ "мкл", "мл", "сл", "дл", "гл", "кл" ]
2424
}
2525
]
2626
},

UnitsNet.Tests/CustomCode/MassFlowTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public class MassFlowTests : MassFlowTestsBase
5656

5757
protected override double PoundsPerHourInOneGramPerSecond => 7.93664;
5858

59+
protected override double PoundsPerMinuteInOneGramPerSecond => 0.132277;
60+
61+
protected override double MegapoundsPerMinuteInOneGramPerSecond => 0.132277e-6;
62+
5963
[Fact]
6064
public void DurationTimesMassFlowEqualsMass()
6165
{

UnitsNet.Tests/CustomCode/VolumeTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public class VolumeTests : VolumeTestsBase
6464
protected override double KilousGallonsInOneCubicMeter => 2.6417217e-1;
6565

6666
protected override double LitersInOneCubicMeter => 1E3;
67+
protected override double KilolitersInOneCubicMeter => 1;
68+
6769
protected override double MegacubicFeetInOneCubicMeter => 3.531472e-5;
6870
protected override double MegaimperialGallonsInOneCubicMeter => 2.1996924e-4;
6971
protected override double MegausGallonsInOneCubicMeter => 2.6417217e-4;

UnitsNet.Tests/GeneratedCode/MassFlowTestsBase.g.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@ public abstract partial class MassFlowTestsBase
6161
protected abstract double KilogramsPerHourInOneGramPerSecond { get; }
6262
protected abstract double KilogramsPerSecondInOneGramPerSecond { get; }
6363
protected abstract double MegapoundsPerHourInOneGramPerSecond { get; }
64+
protected abstract double MegapoundsPerMinuteInOneGramPerSecond { get; }
6465
protected abstract double MicrogramsPerSecondInOneGramPerSecond { get; }
6566
protected abstract double MilligramsPerSecondInOneGramPerSecond { get; }
6667
protected abstract double NanogramsPerSecondInOneGramPerSecond { get; }
6768
protected abstract double PoundsPerHourInOneGramPerSecond { get; }
69+
protected abstract double PoundsPerMinuteInOneGramPerSecond { get; }
6870
protected abstract double ShortTonsPerHourInOneGramPerSecond { get; }
6971
protected abstract double TonnesPerDayInOneGramPerSecond { get; }
7072
protected abstract double TonnesPerHourInOneGramPerSecond { get; }
@@ -78,10 +80,12 @@ public abstract partial class MassFlowTestsBase
7880
protected virtual double KilogramsPerHourTolerance { get { return 1e-5; } }
7981
protected virtual double KilogramsPerSecondTolerance { get { return 1e-5; } }
8082
protected virtual double MegapoundsPerHourTolerance { get { return 1e-5; } }
83+
protected virtual double MegapoundsPerMinuteTolerance { get { return 1e-5; } }
8184
protected virtual double MicrogramsPerSecondTolerance { get { return 1e-5; } }
8285
protected virtual double MilligramsPerSecondTolerance { get { return 1e-5; } }
8386
protected virtual double NanogramsPerSecondTolerance { get { return 1e-5; } }
8487
protected virtual double PoundsPerHourTolerance { get { return 1e-5; } }
88+
protected virtual double PoundsPerMinuteTolerance { get { return 1e-5; } }
8589
protected virtual double ShortTonsPerHourTolerance { get { return 1e-5; } }
8690
protected virtual double TonnesPerDayTolerance { get { return 1e-5; } }
8791
protected virtual double TonnesPerHourTolerance { get { return 1e-5; } }
@@ -99,10 +103,12 @@ public void GramPerSecondToMassFlowUnits()
99103
AssertEx.EqualTolerance(KilogramsPerHourInOneGramPerSecond, grampersecond.KilogramsPerHour, KilogramsPerHourTolerance);
100104
AssertEx.EqualTolerance(KilogramsPerSecondInOneGramPerSecond, grampersecond.KilogramsPerSecond, KilogramsPerSecondTolerance);
101105
AssertEx.EqualTolerance(MegapoundsPerHourInOneGramPerSecond, grampersecond.MegapoundsPerHour, MegapoundsPerHourTolerance);
106+
AssertEx.EqualTolerance(MegapoundsPerMinuteInOneGramPerSecond, grampersecond.MegapoundsPerMinute, MegapoundsPerMinuteTolerance);
102107
AssertEx.EqualTolerance(MicrogramsPerSecondInOneGramPerSecond, grampersecond.MicrogramsPerSecond, MicrogramsPerSecondTolerance);
103108
AssertEx.EqualTolerance(MilligramsPerSecondInOneGramPerSecond, grampersecond.MilligramsPerSecond, MilligramsPerSecondTolerance);
104109
AssertEx.EqualTolerance(NanogramsPerSecondInOneGramPerSecond, grampersecond.NanogramsPerSecond, NanogramsPerSecondTolerance);
105110
AssertEx.EqualTolerance(PoundsPerHourInOneGramPerSecond, grampersecond.PoundsPerHour, PoundsPerHourTolerance);
111+
AssertEx.EqualTolerance(PoundsPerMinuteInOneGramPerSecond, grampersecond.PoundsPerMinute, PoundsPerMinuteTolerance);
106112
AssertEx.EqualTolerance(ShortTonsPerHourInOneGramPerSecond, grampersecond.ShortTonsPerHour, ShortTonsPerHourTolerance);
107113
AssertEx.EqualTolerance(TonnesPerDayInOneGramPerSecond, grampersecond.TonnesPerDay, TonnesPerDayTolerance);
108114
AssertEx.EqualTolerance(TonnesPerHourInOneGramPerSecond, grampersecond.TonnesPerHour, TonnesPerHourTolerance);
@@ -119,10 +125,12 @@ public void FromValueAndUnit()
119125
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.KilogramPerHour).KilogramsPerHour, KilogramsPerHourTolerance);
120126
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.KilogramPerSecond).KilogramsPerSecond, KilogramsPerSecondTolerance);
121127
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.MegapoundPerHour).MegapoundsPerHour, MegapoundsPerHourTolerance);
128+
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.MegapoundPerMinute).MegapoundsPerMinute, MegapoundsPerMinuteTolerance);
122129
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.MicrogramPerSecond).MicrogramsPerSecond, MicrogramsPerSecondTolerance);
123130
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.MilligramPerSecond).MilligramsPerSecond, MilligramsPerSecondTolerance);
124131
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.NanogramPerSecond).NanogramsPerSecond, NanogramsPerSecondTolerance);
125132
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.PoundPerHour).PoundsPerHour, PoundsPerHourTolerance);
133+
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.PoundPerMinute).PoundsPerMinute, PoundsPerMinuteTolerance);
126134
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.ShortTonPerHour).ShortTonsPerHour, ShortTonsPerHourTolerance);
127135
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.TonnePerDay).TonnesPerDay, TonnesPerDayTolerance);
128136
AssertEx.EqualTolerance(1, MassFlow.From(1, MassFlowUnit.TonnePerHour).TonnesPerHour, TonnesPerHourTolerance);
@@ -140,10 +148,12 @@ public void As()
140148
AssertEx.EqualTolerance(KilogramsPerHourInOneGramPerSecond, grampersecond.As(MassFlowUnit.KilogramPerHour), KilogramsPerHourTolerance);
141149
AssertEx.EqualTolerance(KilogramsPerSecondInOneGramPerSecond, grampersecond.As(MassFlowUnit.KilogramPerSecond), KilogramsPerSecondTolerance);
142150
AssertEx.EqualTolerance(MegapoundsPerHourInOneGramPerSecond, grampersecond.As(MassFlowUnit.MegapoundPerHour), MegapoundsPerHourTolerance);
151+
AssertEx.EqualTolerance(MegapoundsPerMinuteInOneGramPerSecond, grampersecond.As(MassFlowUnit.MegapoundPerMinute), MegapoundsPerMinuteTolerance);
143152
AssertEx.EqualTolerance(MicrogramsPerSecondInOneGramPerSecond, grampersecond.As(MassFlowUnit.MicrogramPerSecond), MicrogramsPerSecondTolerance);
144153
AssertEx.EqualTolerance(MilligramsPerSecondInOneGramPerSecond, grampersecond.As(MassFlowUnit.MilligramPerSecond), MilligramsPerSecondTolerance);
145154
AssertEx.EqualTolerance(NanogramsPerSecondInOneGramPerSecond, grampersecond.As(MassFlowUnit.NanogramPerSecond), NanogramsPerSecondTolerance);
146155
AssertEx.EqualTolerance(PoundsPerHourInOneGramPerSecond, grampersecond.As(MassFlowUnit.PoundPerHour), PoundsPerHourTolerance);
156+
AssertEx.EqualTolerance(PoundsPerMinuteInOneGramPerSecond, grampersecond.As(MassFlowUnit.PoundPerMinute), PoundsPerMinuteTolerance);
147157
AssertEx.EqualTolerance(ShortTonsPerHourInOneGramPerSecond, grampersecond.As(MassFlowUnit.ShortTonPerHour), ShortTonsPerHourTolerance);
148158
AssertEx.EqualTolerance(TonnesPerDayInOneGramPerSecond, grampersecond.As(MassFlowUnit.TonnePerDay), TonnesPerDayTolerance);
149159
AssertEx.EqualTolerance(TonnesPerHourInOneGramPerSecond, grampersecond.As(MassFlowUnit.TonnePerHour), TonnesPerHourTolerance);
@@ -186,6 +196,10 @@ public void ToUnit()
186196
AssertEx.EqualTolerance(MegapoundsPerHourInOneGramPerSecond, (double)megapoundperhourQuantity.Value, MegapoundsPerHourTolerance);
187197
Assert.Equal(MassFlowUnit.MegapoundPerHour, megapoundperhourQuantity.Unit);
188198

199+
var megapoundperminuteQuantity = grampersecond.ToUnit(MassFlowUnit.MegapoundPerMinute);
200+
AssertEx.EqualTolerance(MegapoundsPerMinuteInOneGramPerSecond, (double)megapoundperminuteQuantity.Value, MegapoundsPerMinuteTolerance);
201+
Assert.Equal(MassFlowUnit.MegapoundPerMinute, megapoundperminuteQuantity.Unit);
202+
189203
var microgrampersecondQuantity = grampersecond.ToUnit(MassFlowUnit.MicrogramPerSecond);
190204
AssertEx.EqualTolerance(MicrogramsPerSecondInOneGramPerSecond, (double)microgrampersecondQuantity.Value, MicrogramsPerSecondTolerance);
191205
Assert.Equal(MassFlowUnit.MicrogramPerSecond, microgrampersecondQuantity.Unit);
@@ -202,6 +216,10 @@ public void ToUnit()
202216
AssertEx.EqualTolerance(PoundsPerHourInOneGramPerSecond, (double)poundperhourQuantity.Value, PoundsPerHourTolerance);
203217
Assert.Equal(MassFlowUnit.PoundPerHour, poundperhourQuantity.Unit);
204218

219+
var poundperminuteQuantity = grampersecond.ToUnit(MassFlowUnit.PoundPerMinute);
220+
AssertEx.EqualTolerance(PoundsPerMinuteInOneGramPerSecond, (double)poundperminuteQuantity.Value, PoundsPerMinuteTolerance);
221+
Assert.Equal(MassFlowUnit.PoundPerMinute, poundperminuteQuantity.Unit);
222+
205223
var shorttonperhourQuantity = grampersecond.ToUnit(MassFlowUnit.ShortTonPerHour);
206224
AssertEx.EqualTolerance(ShortTonsPerHourInOneGramPerSecond, (double)shorttonperhourQuantity.Value, ShortTonsPerHourTolerance);
207225
Assert.Equal(MassFlowUnit.ShortTonPerHour, shorttonperhourQuantity.Unit);
@@ -227,10 +245,12 @@ public void ConversionRoundTrip()
227245
AssertEx.EqualTolerance(1, MassFlow.FromKilogramsPerHour(grampersecond.KilogramsPerHour).GramsPerSecond, KilogramsPerHourTolerance);
228246
AssertEx.EqualTolerance(1, MassFlow.FromKilogramsPerSecond(grampersecond.KilogramsPerSecond).GramsPerSecond, KilogramsPerSecondTolerance);
229247
AssertEx.EqualTolerance(1, MassFlow.FromMegapoundsPerHour(grampersecond.MegapoundsPerHour).GramsPerSecond, MegapoundsPerHourTolerance);
248+
AssertEx.EqualTolerance(1, MassFlow.FromMegapoundsPerMinute(grampersecond.MegapoundsPerMinute).GramsPerSecond, MegapoundsPerMinuteTolerance);
230249
AssertEx.EqualTolerance(1, MassFlow.FromMicrogramsPerSecond(grampersecond.MicrogramsPerSecond).GramsPerSecond, MicrogramsPerSecondTolerance);
231250
AssertEx.EqualTolerance(1, MassFlow.FromMilligramsPerSecond(grampersecond.MilligramsPerSecond).GramsPerSecond, MilligramsPerSecondTolerance);
232251
AssertEx.EqualTolerance(1, MassFlow.FromNanogramsPerSecond(grampersecond.NanogramsPerSecond).GramsPerSecond, NanogramsPerSecondTolerance);
233252
AssertEx.EqualTolerance(1, MassFlow.FromPoundsPerHour(grampersecond.PoundsPerHour).GramsPerSecond, PoundsPerHourTolerance);
253+
AssertEx.EqualTolerance(1, MassFlow.FromPoundsPerMinute(grampersecond.PoundsPerMinute).GramsPerSecond, PoundsPerMinuteTolerance);
234254
AssertEx.EqualTolerance(1, MassFlow.FromShortTonsPerHour(grampersecond.ShortTonsPerHour).GramsPerSecond, ShortTonsPerHourTolerance);
235255
AssertEx.EqualTolerance(1, MassFlow.FromTonnesPerDay(grampersecond.TonnesPerDay).GramsPerSecond, TonnesPerDayTolerance);
236256
AssertEx.EqualTolerance(1, MassFlow.FromTonnesPerHour(grampersecond.TonnesPerHour).GramsPerSecond, TonnesPerHourTolerance);

0 commit comments

Comments
 (0)