Пример #1
0
 def test_float(self):
     self.assertEqual(questions.add_division(2.8, 4.2, 7.0),
                      (2.8 + 4.2) / 7.0)
Пример #2
0
 def test_negative(self):
     self.assertEqual(questions.add_division(-3, 2, -1), (-3 + 2) / -1)
Пример #3
0
 def test_integer(self):
     self.assertEqual(questions.add_division(2, 4, 6), (2 + 4) / 6)