예제 #1
0
파일: testsub1.py 프로젝트: zayng/autotest
 def test_sub1(self):
     self.j=count(6.4,3.7)
     return self.assertEqual(self.j.sub(), 2.7)
예제 #2
0
파일: testsub1.py 프로젝트: zayng/autotest
 def test_sub(self):
     self.j=count(6,2)
     return self.assertEqual(self.j.sub(), 4)
예제 #3
0
파일: testadd.py 프로젝트: zayng/autotest
 def test_add(self):
     self.j=count(2,4)
     return self.assertEqual(self.j.add(), 6)
예제 #4
0
파일: testadd.py 프로젝트: zayng/autotest
 def test_add2(self):
     self.j=count(2.4,3.7)
     return self.assertEqual(self.j.add(), 6.1)
예제 #5
0
파일: testadd.py 프로젝트: zayng/autotest
 def test_add3(self):
     self.j=count('hello',' world')
     return self.assertEqual(self.j.add(), 'hello world')