pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/TheAlgorithms/JavaScript/pull/1862

.css" /> test: add IntroSort tests by crhallberg · Pull Request #1862 · TheAlgorithms/JavaScript · GitHub
Skip to content

test: add IntroSort tests#1862

Open
crhallberg wants to merge 3 commits into
TheAlgorithms:masterfrom
crhallberg:test-introsort
Open

test: add IntroSort tests#1862
crhallberg wants to merge 3 commits into
TheAlgorithms:masterfrom
crhallberg:test-introsort

Conversation

@crhallberg

@crhallberg crhallberg commented Dec 3, 2025

Copy link
Copy Markdown
  • move demo1 and demo2 into test
  • cover obvious code branches

Describe your change:

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?
  • Add a test for existing algorithm

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new JavaScript files are placed inside an existing directory.
  • All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames.
    Example:UserProfile.js is allowed but userprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not
  • All new algorithms have a URL in their comments that points to Wikipedia or another similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@codecov-commenter

codecov-commenter commented Dec 3, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.43%. Comparing base (08d8c6b) to head (109f32d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1862      +/-   ##
==========================================
+ Coverage   85.91%   87.43%   +1.52%     
==========================================
  Files         379      379              
  Lines       19778    19713      -65     
  Branches     3015     3062      +47     
==========================================
+ Hits        16993    17237     +244     
+ Misses       2785     2476     -309     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@crhallberg crhallberg marked this pull request as ready for review December 3, 2025 23:12
@crhallberg

Copy link
Copy Markdown
Author

Code Coverage for IntroSort.js is now 100%.

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.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy