1
2
3
assert(collatz_max(10) == (9, 20))
4
5
assert(collatz_max(100) == (97, 119))
6
7
assert(collatz_max(1000) == (871, 179))
8
9
assert(collatz_max(10000) == (6171, 262))
10
11
assert(collatz_max(100000) == (77031, 351))
12
13
assert(collatz_max(1000000) == (837799, 525))