def test_cycleLength_3 (self): l = collatz_cycleLength(210, [0]*500000) self.assert_(l == 40)
def test_cycleLength_1 (self): l = collatz_cycleLength(22, [0]*500000) self.assert_(l == 16)
def test_cycleLength_2 (self): l = collatz_cycleLength(100, [0]*500000) self.assert_(l == 26)
def test_cycleLength_4 (self): l = collatz_cycleLength(950, [0]*500000) self.assert_(l == 29)