AESB2122 - Signals and Systems with Python
These exercises, along with, teaching you good practices of programming, will also help you prepare for your the final project. :)
In previous classes, we have learned about how to get these exercises done. Refer to those slides if you need a refresher.
Have docstrings in all your functions.
Start with a one-liner that describes what the function does.
Add details about the parameters and return values.
Write test functions for your functions.
Add your test functions to a separate test file and name it something that starts with test_, e.g. test_functions.py.
Run the test file with pytest to see how things work.
Create a new file in your project.
Name it pyproject.toml. (exactly this name! no changes.)