Skip to content

Add VolumePerLength yd3 / ft and ftUS #734

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

Merged
merged 1 commit into from
Jan 11, 2020

Conversation

gojanpaolo
Copy link
Contributor

Succeeds #733

@gojanpaolo gojanpaolo requested a review from angularsen January 11, 2020 19:50
Copy link
Owner

@angularsen angularsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but note that I did not verify the conversion constants as I could not find any conversion references.

@@ -32,5 +32,9 @@ public class VolumePerLengthTests : VolumePerLengthTestsBase
protected override double LitersPerMeterInOneCubicMeterPerMeter => 1000;

protected override double OilBarrelsPerFootInOneCubicMeterPerMeter => 1.917134088;

protected override double CubicYardsPerFootInOneCubicMeterPerMeter => 0.3986633487670267521605;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to verify these as I could not find any references, but I trust you checked it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick check would be

1 m² = 1.19599 yd²
1.19599 yd² * (1 yd / 3 ft) = 0.3986633 yd³ / ft

@codecov-io
Copy link

codecov-io commented Jan 11, 2020

Codecov Report

Merging #734 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #734      +/-   ##
==========================================
+ Coverage   58.56%   58.58%   +0.01%     
==========================================
  Files         171      171              
  Lines       38430    38448      +18     
==========================================
+ Hits        22507    22525      +18     
  Misses      15923    15923
Impacted Files Coverage Δ
UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs 100% <ø> (ø) ⬆️
...sNet/GeneratedCode/Quantities/VolumePerLength.g.cs 47.35% <100%> (+2.55%) ⬆️
UnitsNet/GeneratedCode/UnitConverter.g.cs 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e69bef4...c6c03a3. Read the comment docs.

@angularsen angularsen changed the title add VolumePerLength yd3 / ft and ftUS Add VolumePerLength yd3 / ft and ftUS Jan 11, 2020
@angularsen angularsen merged commit 5b4f229 into master Jan 11, 2020
@angularsen angularsen deleted the add-volume-per-length-imperial branch January 11, 2020 20:02
@angularsen
Copy link
Owner

Release UnitsNet/4.43.0 · angularsen/UnitsNet

@gojanpaolo
Copy link
Contributor Author

Thank you!

jonsuda pushed a commit to wgvdn/UnitsNet that referenced this pull request Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants