Closed ajratnam closed 3 years ago
@niyoj Finally made this test suite. Please let me know if this is ok? or any updates needed.
I did run the tests before submitting and it worked fine.
@niyoj ?
Sorry was offline due to some network issues. Now I am reviewing this PR.
So what do you think?
@ajratnam Sorry for the delay. I am quite unsure about adding this feature in my repo. So for now I will label your PR as hacktoberfest-accepted
but won't merge the PR. I will be mentioning you whenever I think this will be necessary.
Thanks for contributing.
The aim of this PR?
This PR adds the test suite for python. It also fixes a few spelling mistakes in
lcm.py
andloop_1.c
How to use this testing program?
python test.py <program.py>
Additional Notes
This test suite only works by checking whether the respective
even
orodd
exists in the next line after the inputValid output Example
Enter your number -
(input)
Your number iseven
Invalid output Example
Enter your number -
(input)
Please wait while I am calculating. Your number iseven