The target of this project was to write 1-100 into a file and read half of them. Finally, it required to write a unit test for the whole task.
To generate and write numbers from 1 to 100, please run the following command:
python number.py
Numbers will be written into shofiqul.txt
.
To run the unit test to validate the code, please run the following command:
python test.py