def test_eval_single_3 (self) :
     v = collatz_eval_single(1000)
     self.assert_(v == 112)
 def test_eval_single_2 (self) :
     v = collatz_eval_single(100)
     self.assert_(v == 26)
 def test_eval_single_1 (self) :
     v = collatz_eval_single(1)
     self.assert_(v == 1)
Пример #4
0
 def test_single_3(self):
     v = collatz_eval_single(205)
     self.assertEqual(v, 27)
Пример #5
0
 def test_single_2(self):
     v = collatz_eval_single(7)
     self.assertEqual(v, 17)
Пример #6
0
 def test_single_1(self):
     v = collatz_eval_single(5)
     self.assertEqual(v, 6)