示例#1
0
 def test_sum(self):
     self.assertEqual(MethodForTest.summ(15, 15), 30)
示例#2
0
 def test_list(self):
     self.assertEqual(MethodForTest.list(5), 5)
示例#3
0
 def test_notEqual(self):
     self.assertNotEquals(MethodForTest.notEquil(5, 5), 24)
示例#4
0
 def test_multi(self):
     self.assertEqual(MethodForTest.multi(15, 2), 30)
示例#5
0
 def test_string(self):
     self.assertEqual(MethodForTest.string("xx", 3), "xxxxxx")
示例#6
0
 def test_sum(self):
     self.assertEqual(MethodForTest.summ(15, 15), 30)
示例#7
0
 def test_notEqual(self):
     self.assertNotEquals(MethodForTest.notEquil(5, 5), 24)
示例#8
0
 def test_list(self):
     self.assertEqual(MethodForTest.list(5), 5)
示例#9
0
 def test_string(self):
     self.assertEqual(MethodForTest.string("xx", 3), "xxxxxx")
示例#10
0
 def test_multi(self):
     self.assertEqual(MethodForTest.multi(15, 2), 30)