Exemple #1
0
 def test_MathOperations_log(self):
     self.assertEqual(0, Log.logarithm(10, 1))
Exemple #2
0
 def test_MathOperations_Log(self):
     self.assertEqual(6, Log.log(64, 2))
 def test_MathOperations_log(self):
     Log.logarithm(2, 8)
     self.assertEqual(3, Log.logarithm(2, 8))
Exemple #4
0
 def Logarithm(self, a, b):
     self.Result = Log.logarithm(a, b)
     return self.Result
Exemple #5
0
 def log(self, a, b):
     self.Result = Log.log(a, b)
     return self.Result
 def test_calculator_logarithm(self):
     self.assertEqual(0, Log.logarithm(10,1))