Пример #1
0
 def test_divide_5(self):
     self.assertEqual(divide(10, 0), str)
Пример #2
0
 def test_divide_4(self):
     self.assertEqual(divide(0, 10), 0)
Пример #3
0
 def test_divide_2(self):
     self.assertEqual(divide(-10, 10), -1)
Пример #4
0
 def test_divide_3(self):
     self.assertEqual(divide(10, -10), -1)
Пример #5
0
 def test_divide_1(self):
     self.assertEqual(divide(10, 10), 1)