Example #1
0
 def test_negative(self):
     self.assertEqual(toy.global_function(-3), -2)
Example #2
0
 def test_positive(self):
     self.assertEqual(toy.global_function(3), 4)
Example #3
0
 def test_large(self):
     self.assertEqual(toy.global_function(2 ** 13), 2 ** 13 + 1)
Example #4
0
 def test_negative(self):
     self.assertEqual(toy.global_function(-3), -2)
Example #5
0
 def test_positive(self):
     self.assertEqual(toy.global_function(3), 4)
Example #6
0
 def test_large(self):
     self.assertEqual(toy.global_function(2**13), 2**13 + 1)