@djangoproject · Post #443 · 09/17/2017, 12:38 AM
http://www.bogotobogo.com/python/python_unit_testing.php #python#unit_test In this chapter, we're going to write and debug a set of functions to convert to and from Hexa numbers. We can start mapping out what a hexa.py module should do. It will have two main functions, toHexa() and fromHexa(). The toHexa() function should take an integer from 1 to 65536 and return the hexa numeral representation as a string.
Hashtags