Add type hints and tests. (#2461) · zinating/algorithms-python@c6dd975 · GitHub
Skip to content

Commit c6dd975

Browse files
polosocclaussgithub-actions
authored
Add type hints and tests. (TheAlgorithms#2461)
* Add type hints, documentation and tests. * Update searches/ternary_search.py Sort collection and remove the assertion logic. Co-authored-by: Christian Clauss <cclauss@me.com> * Remove assert sorted logic. * Add assertion list is ordered. * updating DIRECTORY.md * updating DIRECTORY.md * Format with black. * Change names of variables to descriptive names * Remove print in doctests * Fix variables to snake_case notation. Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent ae4d7d4 commit c6dd975

2 files changed

Lines changed: 141 additions & 67 deletions

File tree

DIRECTORY.md

Lines changed: 9 additions & 0 deletions

searches/ternary_search.py

Lines changed: 132 additions & 67 deletions

0 commit comments

Comments
 (0)