def testIncre(self): c = Calculator() a = 6 b = 3 s = 3 sum = c.Incre(a, b) self.assertEquals(s, sum)
def testMulti(self): c = Calculator() a = 6 b = 3 s = 18 sum = c.Multi(a, b) self.assertEquals(s, sum)
def testAdd(self): c = Calculator() a = 6 b = 3 s = 9 sum = c.Add(a, b) self.assertEquals(s, sum)
def testDivid(self): c = Calculator() a = 6 b = 3 s = 2 sum = c.Divid(a, b) self.assertEquals(s, sum)
def testAdd3(self): c = Calculator() a = -6 b = -3 s = -9 sum = c.Add(a, b) self.assertEquals(s, sum)