示例#1
0
 def testAdd(self):
     c = Calculator()
     a = 6
     b = 3
     s = 9
     sum = c.Add(a, b)
     self.assertEquals(s, sum)
示例#2
0
 def testAdd3(self):
     c = Calculator()
     a = -6
     b = -3
     s = -9
     sum = c.Add(a, b)
     self.assertEquals(s, sum)