def direction_tests(): rt = direction_test() myut.require_exceptionless('direction test', rt.runTest)
def order_tests(): ot = order_test() myut.require_exceptionless('order test', ot.runTest)
def step_tests(): for first, last, by in [ (0, n, 1), (0, n, 5), (n, 0, -1), (n, 0, -5) ]: st = stepped_test(first, last, by) myut.require_exceptionless('1st: %d, nth: %d, by: %d' % (first, last, by), st.runTest)