-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(test_docs)🔧: Refactor test_docs to use external source file …
…and improve function documentation - Import pathlib and use Path for reading external prime number source code. - Update docstrings in is_prime and next_prime with parameter and return details. - Modify is_prime base case to check for n < 2 and add a case for n == 3.
- Loading branch information
Showing
1 changed file
with
17 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters