The array_split.unittest Module

Some simple wrappers of python built-in unittest module for array_split unit-tests.

Classes and Functions

main(module_name[, log_level, init_logger_names])

Small wrapper for unittest.main() which initialises logging.Logger objects. Loads a set of tests from module and runs them; this is primarily for making test modules conveniently executable. The simplest use for this function is to include the following line at the end of a test module::.

TestCase([methodName])

Extends unittest.TestCase with the assertArraySplitEqual().