コード例 #1
0
 def test_one_argument(self):
     self.assertFalse(sum(self.bool1, self.bool2), msg="The input argument should not contain boolean value")
コード例 #2
0
 def test_one_argument(self):
     self.assertFalse(sum(self.int1, self.int2, self.int3), msg="The number  of input arguments must always be 2")
コード例 #3
0
 def test_one_argument(self):
     self.assertTrue(sum(self.float1, self.float1))
コード例 #4
0
 def test_one_argument(self):
     self.assertFalse(sum(self.string, self.int1), msg="The input argument should not be a string")
コード例 #5
0
 def test_one_argument(self):
     self.assertTrue(sum(self.int1, self.int2))