Added Unit Tests to a new file in another folder: tests/test_simulation.py
Tests are running properly and the import issue has been resolved.
I had to make a small adjustment to the rotate_towards_sensor() method.
We now normalize the angles so they don't turn into negative values, this led to problems in testing before.
Also I had to comment out numba, as numba and pytest supposedly both rewrite the bytecode. I recommend that we keep numba in the code for using the actual program and just comment it out whenever we need to rerun tests.
Added Unit Tests to a new file in another folder: tests/test_simulation.py
Tests are running properly and the import issue has been resolved. I had to make a small adjustment to the rotate_towards_sensor() method. We now normalize the angles so they don't turn into negative values, this led to problems in testing before. Also I had to comment out numba, as numba and pytest supposedly both rewrite the bytecode. I recommend that we keep numba in the code for using the actual program and just comment it out whenever we need to rerun tests.