code: def test_logs(self):
      LOG10E = math.log10(math.e)
  
      for exp in list(range(10)) + [100, 1000, 10000]:
          value = 10**exp
          log10 = math.log10(value)
          self.assertAlmostEqual(log10, exp)
  
          # log10(value) == exp, so log(value) == log10(value)/log10(e) ==
          # exp/LOG10E
          expected = exp / LOG10E
          log = math.log(value)
          self.assertAlmostEqual(log, expected)
  
      for bad in -(1 << 10000), -2, 0:
          self.assertRaises(ValueError, math.log, bad)
          self.assertRaises(ValueError, math.log10, bad)
  
imports: import unittest
  from test import support
  import sys
  import random
  import math
  import array
label_desc: Use image node_id 18 for calling the LongTest obj's underlying member method code with example usage: obj.test_logs() without return types