Exemplo n.º 1
0
 def test_single_recursive_7(self):
     """unit test: collatz_single_recursive"""
     value = collatz_single_recursive(1000)
     self.assertEqual(value, 112)
Exemplo n.º 2
0
 def test_single_recursive_5(self):
     """unit test: collatz_single_recursive"""
     value = collatz_single_recursive(999999)
     self.assertEqual(value, 259)
Exemplo n.º 3
0
 def test_single_recursive_6(self):
     """unit test: collatz_single_recursive"""
     value = collatz_single_recursive(5040)
     self.assertEqual(value, 42)
Exemplo n.º 4
0
 def test_single_recursive_4(self):
     """unit test: collatz_single_recursive"""
     value = collatz_single_recursive(837799)
     self.assertEqual(value, 525)