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