[PR #922] [CLOSED] test: remove input from user and add test for merge sort algorithm #1451

Closed
opened 2026-01-29 15:20:51 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/922
Author: @havijs
Created: 12/2/2021
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • 3dd84e6 test: remove input from user and add test for merge sort algorithm
  • 1b27f5c docs: add comment for test
  • 7aba0f8 docs: fix comment format
  • 260439d test: print all tests passed

📊 Changes

1 file changed (+25 additions, -11 deletions)

View changed files

📝 sorting/merge_sort.c (+25 -11)

📄 Description

Description of Change

Removing input from user in favor of test with random data.

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/922 **Author:** [@havijs](https://github.com/havijs) **Created:** 12/2/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`3dd84e6`](https://github.com/TheAlgorithms/C/commit/3dd84e6d2a3cbd2009eb2d382eaf911a4dc325d3) test: remove input from user and add test for merge sort algorithm - [`1b27f5c`](https://github.com/TheAlgorithms/C/commit/1b27f5c2aa54ddaec1ba984d168a3cf96379bf39) docs: add comment for test - [`7aba0f8`](https://github.com/TheAlgorithms/C/commit/7aba0f88e769443f0ab854f4f7a214e77ab4088b) docs: fix comment format - [`260439d`](https://github.com/TheAlgorithms/C/commit/260439d60cceb290ac2b1943362b1b13d15fd703) test: print all tests passed ### 📊 Changes **1 file changed** (+25 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `sorting/merge_sort.c` (+25 -11) </details> ### 📄 Description #### Description of Change Removing input from user in favor of test with random data. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/922"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:20:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1451