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 local_maxima #1

Open
pberkes opened this issue Jun 26, 2023 · 0 comments

Comments

@pberkes
Copy link
Contributor

pberkes commented Jun 26, 2023

Write a working implementation of the local_maxima function from slide 5:

The module test_local_maxima [1] contains tests corresponding to the examples on slide 6. Complete the last test with the last example in slide 6.

Write the implementation of the local_maxima function in the module local_maxima [2], 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 still pass

[1] https://github.com/aspp-latam/2023-mexico-testing-and-debugging/blob/master/hands_on/local_maxima/test_local_maxima.py
[2] https://github.com/aspp-latam/2023-mexico-testing-and-debugging/blob/master/hands_on/local_maxima/local_maxima.py

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