def test_max_range_4(self):
     v = collatz_max_range(535474, 839606)
     self.assertEqual(v, 525)
 def test_max_range_2(self):
     v = collatz_max_range(10, 1)
     self.assertEqual(v, 20)
 def test_max_range_1(self):
     v = collatz_max_range(1, 10)
     self.assertEqual(v, 20)
示例#4
0
 def test_max_range_1(self):
     """
     testing collatz_max_range
     """
     var = collatz_max_range(1, 10)
     self.assertEqual(var, 20)
示例#5
0
 def test_max_range_3(self):
     """
     testing collatz_max_range
     """
     var = collatz_max_range(1, 999)
     self.assertEqual(var, 179)
示例#6
0
 def test_max_range_2(self):
     """
     testing collatz_max_range
     """
     var = collatz_max_range(1, 50)
     self.assertEqual(var, 112)