DSC-Chitkara / Algo-DS

Repository for new Contributors to come and collaborate for hacktoberfest!
16 stars 111 forks source link

converts binary strings to octal strings, can also do the reverse + binary search #143

Open jcert opened 5 years ago

jcert commented 5 years ago

What Changes does this PR introduce?

Converts binary strings to octal strings, can also do the reverse, as part of #29. I added some tests that should all print True when the module is loaded, they check the results of some common conversions. This code will raise an exception if the input to the functions is not a string or if it is a string that contains invalid character. I also added a binary search and its tests, it works on ordered lists in increasing order #12.

What issue have you fixed?

None

If relevant, have you updated the README file?

No

Have you added your name to CONTRIBUTORS.md?

Yes

Have you added tests for your code?

Yes

Any other information?

No