ubsuny / 23-Homework4G4

MIT License
0 stars 10 forks source link

Need explanation #54

Open Mosaddeq107 opened 8 months ago

Mosaddeq107 commented 8 months ago

Hi all, how did you deal with this part below, which is required for our homework:

unit test: focus on providing a seperate function / module (based on the old code - report to documentation developer what changes are needed) to the algorithm developer, so it can be implemented as a github action

reshnashrestha commented 8 months ago

It appeared that I did this way earlier. I was just confused with the words. Can you please check out my work? projectile_unit_test.py

tirthbha commented 8 months ago

Hi all, how did you deal with this part below, which is required for our homework:

unit test: focus on providing a seperate function / module (based on the old code - report to documentation developer what changes are needed) to the algorithm developer, so it can be implemented as a github action

@Mosaddeq107 You can create a module file just as you created in the previous homework for example, create a module named module_file.py based on your code. Then create a separate file for tests, say test_file.py, which imports your created module. Finally, add the module_file.py and test_file.py to your repository.

poojashresthacode commented 8 months ago

@Mosaddeq107, I have checked your homework repo. @reshnashrestha has already done it.