Skip to content

Length conversion - #830

Merged
vil02 merged 7 commits into
TheAlgorithms:masterfrom
ali77gh:length_conversion
Oct 27, 2024
Merged

Length conversion#830
vil02 merged 7 commits into
TheAlgorithms:masterfrom
ali77gh:length_conversion

Conversation

@ali77gh

Copy link
Copy Markdown
Contributor

Length Conversions

Description

Algorithm of converting different length units together.

Something like python repo

Available Units:

  • Millimeter
  • Centimeter
  • Meter
  • Kilometer
  • Inch
  • Foot
  • Yard
  • Mile

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I ran bellow commands using the latest version of rust nightly.
  • I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
  • I ran cargo fmt just before my last commit.
  • I ran cargo test just before my last commit and all tests passed.
  • I added my algorithm to the corresponding mod.rs file within its own folder, and in any parent folder(s).
  • I added my algorithm to DIRECTORY.md with the correct link.
  • I checked COUNTRIBUTING.md and my code follows its guidelines.

@codecov-commenter

codecov-commenter commented Oct 20, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.41%. Comparing base (1af4efa) to head (967f112).

Additional details and impacted files
@@ Coverage Diff @@## master #830 +/- ##
==========================================
+ Coverage 95.35% 95.41% +0.05% 
==========================================
Files 313 314 +1 Lines 22708 22754 +46 ==========================================
+ Hits 21654 21710 +56 + Misses 1054 1044 -10 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment threadsrc/conversions/length_conversion.rs Outdated
Comment threadsrc/conversions/length_conversion.rs Outdated
Comment threadsrc/conversions/length_conversion.rs
Comment threadsrc/conversions/length_conversion.rs Outdated
Comment threadsrc/conversions/length_conversion.rs Outdated
Comment threadsrc/conversions/length_conversion.rs
Comment threadsrc/conversions/length_conversion.rs Outdated
Comment threadsrc/conversions/length_conversion.rs Outdated
@vil02
vil02 merged commit 1b07a48 into TheAlgorithms:masterOct 27, 2024
Sign up for freeto 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

@ali77gh@codecov-commenter@vil02