-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
TestsTest improvementsTest improvements
Description
The replace_sublist function is implemented and documented. However, it is still missing tests.
We should add new tests to check basic replacements. This may also allow us to improve the implementation in the future.
Working on the issue
Familiarize yourself with the replace_sublist functionality. Then add some basic tests. There are already two stubs to add them:
test_replace_sublist_simpleadding one or more examples.test_replace_sublist_overlap, because it may be relevant to see what happens if a sublist like[1, 1]can have overlapping lists.
You can start implement only one of these of course. Once implemented confirm that the tests works with pytest ..
Then make sure you committed all your changes to a branch and open a pull request!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
TestsTest improvementsTest improvements