diff --git a/tests/test_complexity.py b/tests/test_complexity.py index ce20fd3..d2adcf1 100644 --- a/tests/test_complexity.py +++ b/tests/test_complexity.py @@ -50,6 +50,8 @@ def make_names(cls, width, letters=string.ascii_lowercase): ['a', 'b'] >>> list(TestComplexity.make_names(30)) ['aa', 'ab', ..., 'bd'] + >>> list(TestComplexity.make_names(17124)) + ['aaa', 'aab', ..., 'zip'] """ # determine how many products are needed to produce width n_products = max(1, math.ceil(math.log(width, len(letters))))