示例#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))