def test_add_positive_numbers(self): self.assertEquals(add(1, 2), 3)
def test_first_argument_not_number(self): self.assertEquals(add('asd', 2), 'error')
def test_second_argument_not_number(self): self.assertEquals(add(3, 'asd'), 'error')
def test_add_negative_numbers2(self): self.assertEquals(add(-101, -19), -120)
def test_add_negative_and_positive(self): self.assertEquals(add(-7, 21), 14)
def test_add_zero_and_negative(self): self.assertEquals(add(0, -33), -33)
def test_add_negative_numbers(self): self.assertEquals(add(-3, -15), -18)
def test_add_negative_and_zero(self): self.assertEquals(add(-33, 0), -33)
def test_add_zero_and_positive(self): self.assertEquals(add(0, 45), 45)
def test_add_positive_and_zero(self): self.assertEquals(add(45, 0), 45)
def test_add_zeros(self): self.assertEquals(add(0, 0), 0)
def test_add_positive_numbers2(self): self.assertEquals(add(10, 25), 35)