Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hands on: Complete tests and implement a working solution for find_maxima #1

Open
lschwetlick opened this issue Mar 13, 2024 · 0 comments

Comments

@lschwetlick
Copy link
Owner

Go to the directory hands_on/local_maxima_part2 and write a working implementation of the find_maxima function from slide 3:

  • The module test_local_maxima contains tests corresponding to the examples on slide 4. Complete the last two test with the last examples in slide 4.

  • Write the implementation of the find_maxima function in the module local_maxima (you can start from the version you had before), running the tests as you go until you have code that makes all tests pass.

  • Clean up the code until you are happy, making sure that the tests continue to pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant