373
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
1 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
|
424
|
3 |
assert(C1.collatz(1) == 0)
|
|
4 |
assert(C1.collatz(6) == 8)
|
|
5 |
assert(C1.collatz(9) == 19)
|
|
6 |
assert(C1.collatz(9000) == 47)
|
373
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
|