Exemplo n.º 1
0
    def Logarithm(self, a, b):
        self.Result = Logarithm.logarithm(a, b)
        return self.Result


#test = Calculator()
#print(test.divide(2,0))
Exemplo n.º 2
0
 def test_MathOperations_Logarithm(self):
     self.assertEqual(6, Logarithm.logarithm(64, 2))
 def Logarithm(self, a, b):
     self.Result = Logarithm.logarithm(a, b)
     return self.Result
 def test_MathOperations_Logarithm(self):
     self.assertEqual(3, Logarithm.logarithm(729, 9))