-
Notifications
You must be signed in to change notification settings - Fork 393
Add density units #1012
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
Add density units #1012
Conversation
…erCubicInch, PoundsPerCubicMeter, PoundsPerCubicCentimeter, PoundsPerCubicMillimeter, SlugsPerCubicMeter, SlugsPerCubicCentimeter, SlugsPerCubicMillimeter, SlugsPerCubicInch density units
Hi, will try to get to this shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks perfect to me 🙌
@@ -89,6 +89,28 @@ public class DensityTests : DensityTestsBase | |||
|
|||
protected override double KilogramsPerLiterInOneKilogramPerCubicMeter => 1e-3; | |||
|
|||
protected override double TonnesPerCubicFootInOneKilogramPerCubicMeter => 2.8316846591999996e-05; | |||
|
|||
protected override double TonnesPerCubicInchInOneKilogramPerCubicMeter => 1.6387063999999997e-08; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -89,6 +89,28 @@ public class DensityTests : DensityTestsBase | |||
|
|||
protected override double KilogramsPerLiterInOneKilogramPerCubicMeter => 1e-3; | |||
|
|||
protected override double TonnesPerCubicFootInOneKilogramPerCubicMeter => 2.8316846591999996e-05; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double TonnesPerCubicInchInOneKilogramPerCubicMeter => 1.6387063999999997e-08; | ||
|
||
protected override double GramsPerCubicFootInOneKilogramPerCubicMeter => 28.316846591999994; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double GramsPerCubicFootInOneKilogramPerCubicMeter => 28.316846591999994; | ||
|
||
protected override double GramsPerCubicInchInOneKilogramPerCubicMeter => 0.016387063999999996; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double GramsPerCubicInchInOneKilogramPerCubicMeter => 0.016387063999999996; | ||
|
||
protected override double PoundsPerCubicMeterInOneKilogramPerCubicMeter => 2.204622621848775; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double PoundsPerCubicCentimeterInOneKilogramPerCubicMeter => 2.204622621848775e-6; | ||
|
||
protected override double PoundsPerCubicMillimeterInOneKilogramPerCubicMeter => 2.204622621848775e-9; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified
|
||
protected override double PoundsPerCubicMillimeterInOneKilogramPerCubicMeter => 2.204622621848775e-9; | ||
|
||
protected override double SlugsPerCubicMeterInOneKilogramPerCubicMeter => 0.068521765561961; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double SlugsPerCubicMeterInOneKilogramPerCubicMeter => 0.068521765561961; | ||
|
||
protected override double SlugsPerCubicCentimeterInOneKilogramPerCubicMeter => 6.8521765561961e-8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
protected override double SlugsPerCubicCentimeterInOneKilogramPerCubicMeter => 6.8521765561961e-8; | ||
|
||
protected override double SlugsPerCubicMillimeterInOneKilogramPerCubicMeter => 6.8521765561961e-11; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified
|
||
protected override double SlugsPerCubicMillimeterInOneKilogramPerCubicMeter => 6.8521765561961e-11; | ||
|
||
protected override double SlugsPerCubicInchInOneKilogramPerCubicMeter => 1.1228705576569e-6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nuget should be out shortly |
Add TonnesPerCubicFoot, TonnesPerCubicInch, GramsPerCubicFoot, GramsPerCubicInch, PoundsPerCubicMeter, PoundsPerCubicCentimeter, PoundsPerCubicMillimeter, SlugsPerCubicMeter, SlugsPerCubicCentimeter, SlugsPerCubicMillimeter, SlugsPerCubicInch density units