Skip to content

Commit

Permalink
Added doctests.
Browse files Browse the repository at this point in the history
  • Loading branch information
quant12345 committed Oct 7, 2023
1 parent 8bb502c commit 8f5cdf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maths/carmichael_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def is_carmichael_number(n: int) -> bool:


if __name__ == "__main__":

import doctest

doctest.testmod()
Expand Down

0 comments on commit 8f5cdf0

Please sign in to comment.