예제 #1
0
 def test_MathOperations_log(self):
     self.assertEqual(0, Log.logarithm(10, 1))
예제 #2
0
 def Logarithm(self, a, b):
     self.Result = Log.logarithm(a, b)
     return self.Result
예제 #3
0
 def test_MathOperations_log(self):
     Log.logarithm(2, 8)
     self.assertEqual(3, Log.logarithm(2, 8))
 def test_calculator_logarithm(self):
     self.assertEqual(0, Log.logarithm(10,1))