code: def test_endian_longlong(self):
      if sys.byteorder == "little":
          self.assertIs(c_longlong.__ctype_le__, c_longlong)
          self.assertIs(
              c_longlong.__ctype_be__.__ctype_le__, c_longlong
          )
      else:
          self.assertIs(c_longlong.__ctype_be__, c_longlong)
          self.assertIs(
              c_longlong.__ctype_le__.__ctype_be__, c_longlong
          )
  
      s = c_longlong.__ctype_be__(0x1234567890ABCDEF)
      self.assertEqual(
          bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF"
      )
      self.assertEqual(bin(s), "1234567890ABCDEF")
      self.assertEqual(s.value, 0x1234567890ABCDEF)
  
      s = c_longlong.__ctype_le__(0x1234567890ABCDEF)
      self.assertEqual(
          bin(struct.pack("<q", 0x1234567890ABCDEF)), "EFCDAB9078563412"
      )
      self.assertEqual(bin(s), "EFCDAB9078563412")
      self.assertEqual(s.value, 0x1234567890ABCDEF)
  
      s = c_ulonglong.__ctype_be__(0x1234567890ABCDEF)
      self.assertEqual(
          bin(struct.pack(">Q", 0x1234567890ABCDEF)), "1234567890ABCDEF"
      )
      self.assertEqual(bin(s), "1234567890ABCDEF")
      self.assertEqual(s.value, 0x1234567890ABCDEF)
  
      s = c_ulonglong.__ctype_le__(0x1234567890ABCDEF)
      self.assertEqual(
          bin(struct.pack("<Q", 0x1234567890ABCDEF)), "EFCDAB9078563412"
      )
      self.assertEqual(bin(s), "EFCDAB9078563412")
      self.assertEqual(s.value, 0x1234567890ABCDEF)
  
imports: import binascii
  import ctypes
  import math
  import struct
  import sys
  import unittest
  from ctypes import Structure, Union, LittleEndianUnion, BigEndianUnion, BigEndianStructure, LittleEndianStructure, POINTER, sizeof, cast, c_byte, c_ubyte, c_char, c_wchar, c_void_p, c_short, c_ushort, c_int, c_uint, c_long, c_ulong, c_longlong, c_ulonglong, c_uint32, c_float, c_double
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_endian_longlong() without return types