Hands on: Complete tests and implement a working solution for find_maxima #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The goal is to complete the existing test, so that all examples mentioned in the lecture are covered and write an implementation of a find_maxima function that passes these tests.
Go to the directory hands_on/local_maxima_part2 and edit the find_maxima function.
The module test_local_maxima.py contains tests corresponding to the examples on slide 6. Complete the last two test.
Write an implementation of the find_maxima function in the module local_maxima.py (you can start from the version you had before), running the tests as you go until you have code that makes all tests pass.
Create a Pull Request for this issue.
Clean up the code until you are happy, making sure that the tests continue to pass.
Hands on: Complete tests and implement a working solution for find_maxima #1to Hands on: Complete tests and implement a working solution for find_maxima