Skip to content

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

@pberkes

Description

@pberkes

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

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions