コード例 #1
0
 def test_mul_neg(self):
     num = Numbers(2, 2, -3)
     self.assertEqual(0, num.multimlication(), 'Mul with C>0 has wrong value')
コード例 #2
0
 def test_mul_neg(self):
     num = Numbers(2, 2, -3)
     self.assertEqual(0, num.multimlication(),
                      'Mul with C>0 has wrong value')
コード例 #3
0
 def test_mul_pos(self):
     num = Numbers(2, -2, 3)
     self.assertEqual(-12, num.multimlication(), 'Mul with C>0 has wrong value')
コード例 #4
0
 def test_mul_pos(self):
     num = Numbers(2, -2, 3)
     self.assertEqual(-12, num.multimlication(),
                      'Mul with C>0 has wrong value')