TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
22.91k stars 2.24k forks source link

Create vincenty.rs #817

Closed dev-priyanshu15 closed 1 month ago

dev-priyanshu15 commented 1 month ago

In your mod.rs file, make sure to declare the additional modules:

code // mod.rs pub mod bearing; pub mod haversine; pub mod vincenty; // Add the new module for Vincenty formula

This setup provides a good starting point for your navigation algorithms in Rust.

Pull Request Template

Description

Please include a summary of the change and which issue (if any) is fixed. A brief description of the algorithm and your implementation method can be helpful too. If the implemented method/algorithm is not so well-known, it would be helpful to add a link to an article explaining it with more details.

Type of change

Please delete options that are not relevant.

Checklist:

Please make sure that if there is a test that takes too long to run ( > 300ms), you #[ignore] that or try to optimize your code or make the test easier to run. We have this rule because we have hundreds of tests to run; If each one of them took 300ms, we would have to wait for a long time.

dev-priyanshu15 commented 1 month ago

add hacktoberfest label please

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.32%. Comparing base (0dbaff5) to head (0e9e30f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #817 +/- ## ========================================== - Coverage 95.36% 95.32% -0.05% ========================================== Files 311 311 Lines 22673 22673 ========================================== - Hits 21623 21613 -10 - Misses 1050 1060 +10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dev-priyanshu15 commented 1 month ago

please add hacktoberfest label

sozelfist commented 1 month ago

Could you please read the CONTRIBUTING guidelines before submitting the PR? By the way, don't try to spam PR just for hacktoberfest.

vil02 commented 1 month ago

The quality of this submission is so low, that the effort needed to review it is much higher than implementing this feature from the scratch.

dev-priyanshu15 commented 1 month ago

suggest some changes