code: def testExtremeDefaultValues(self):
      message = unittest_pb2.TestExtremeDefaultValues()
  
      # Python pre-2.6 does not have isinf() or isnan() functions, so we have
      # to provide our own.
      def isnan(val):
          # NaN is never equal to itself.
          return val != val
  
      def isinf(val):
          # Infinity times zero equals NaN.
          return not isnan(val) and isnan(val * 0)
  
      self.assertTrue(isinf(message.inf_double))
      self.assertTrue(message.inf_double > 0)
      self.assertTrue(isinf(message.neg_inf_double))
      self.assertTrue(message.neg_inf_double < 0)
      self.assertTrue(isnan(message.nan_double))
  
      self.assertTrue(isinf(message.inf_float))
      self.assertTrue(message.inf_float > 0)
      self.assertTrue(isinf(message.neg_inf_float))
      self.assertTrue(message.neg_inf_float < 0)
      self.assertTrue(isnan(message.nan_float))
      self.assertEqual("? ? ?? ?? ??? ??/ ??-", message.cpp_trigraph)
  
imports: import unittest
  from google.protobuf.internal import test_bad_identifiers_pb2
  from google.protobuf import unittest_custom_options_pb2
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_import_public_pb2
  from google.protobuf import unittest_mset_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import unittest_no_generic_services_pb2
  from google.protobuf import service
label_desc: Use image node_id 3 for calling the GeneratorTest obj's underlying member method code with example usage: obj.testExtremeDefaultValues() and returns: unknown, unknown