This pull request introduces a new C program, add_numbers.c, which contains a function to add two numbers and a series of unit tests to validate this functionality.
Summary
Created a new file add_numbers.c.
Implemented add_numbers(int a, int b) function that returns the sum of two integers.
Implemented test_add_numbers() function that tests the add_numbers function with different sets of inputs and prints the test results.
The main() function calls test_add_numbers() to run the tests.
Fixes #13.
🎉 Latest improvements to Mi6:
#
💡 To get Mi6 to edit this pull request, you can:
Comment below, and MI6 can edit the entire PR
Comment on a file, Mi6 will only modify the commented file
Edit the original issue to get Mi6 to recreate the PR from scratch
Description
This pull request introduces a new C program,
add_numbers.c
, which contains a function to add two numbers and a series of unit tests to validate this functionality.Summary
add_numbers.c
.add_numbers(int a, int b)
function that returns the sum of two integers.test_add_numbers()
function that tests theadd_numbers
function with different sets of inputs and prints the test results.main()
function callstest_add_numbers()
to run the tests.Fixes #13.
🎉 Latest improvements to Mi6:
#💡 To get Mi6 to edit this pull request, you can: