def sjtTests(lowerbound, upperbound, count): for i in range(lowerbound, upperbound + 1): for j in range(count): sjt.sjt(range(i), True)
def test_sjt(l): t.assertTrue(comparePerms(sjt(sorted(l)), stdLibPerms(l)))