def test_soma(self): op = operacoes.Operacoes(10, 10) value = op.soma() self.assertEquals(20, value)
def test_potencia(self): op = operacoes.Operacoes(10, 2) value = op.potencia() self.assertEquals(100, value)
def test_multiplicacao(self): op = operacoes.Operacoes(10, 10) value = op.multiplicacao() self.assertEquals(100, value)
def test_divisao(self): op = operacoes.Operacoes(10, 10) value = op.divisao() self.assertEquals(1, value)
def test_subtracao(self): op = operacoes.Operacoes(10, 10) value = op.subtracao() self.assertEquals(0, value)