added automated doctest to decimal_to_hexadecimal.py in conversions (… · davgit/Python@3b63857 · GitHub
Skip to content

Commit 3b63857

Browse files
jasper256cclauss
authored andcommitted
added automated doctest to decimal_to_hexadecimal.py in conversions (TheAlgorithms#1071)
* added automated doctest to decimal_to_hexadecimal.py in conversions * improved error handling and added more test cases in decimal_to_hexadecimal.py * implemented 0x notation and simplified AssertionError * fixed negative notation and added comparison test against Python hex function
1 parent 46bc673 commit 3b63857

1 file changed

Lines changed: 45 additions & 14 deletions

File tree

conversions/decimal_to_hexadecimal.py

Lines changed: 45 additions & 14 deletions

0 commit comments

Comments
 (0)