Testing Iu helper functions
pre-encoded: 10325476f8
decoded: 012345678
re-encoded: 10325476f8
Testing asn.1 helper functions
Encoding 0xdeadbeef to asn.1 bitstring
Encoded: 20deadbeef
Decoding back to uint32_t: 0xdeadbeef
Encoding 0xdeadbeef to 24-bit asn.1 bitstring
Encoded: 18adbeef
Decoding string from asn.1: 0123456789012345
Decoding large string from asn1: 0123456789012345678901234567890
Testing ranap common functions
PLMN-Id [ 21 f3 54 ], LAC [ ab cd ]
 rc == 0
 mcc == 123 mnc == 45
 lac == 0xabcd
PLMN-Id [ 21 43 65 ], LAC [ ab cd ]
 rc == 0
 mcc == 123 mnc == 456
 lac == 0xabcd
PLMN-Id [ 21 43 ], LAC [ ab cd ]
 rc == -1
PLMN-Id [ 21 43 65 ], LAC [ ab ]
 rc == -1
Testing function ranap_new_transp_info_gtp()
 ipv4, x213_nsap
  transportLayerAddress = 3500010102030400000000000000000000000000
  gTP_TEI = 11223344
 ipv4
  transportLayerAddress = 01020304
  gTP_TEI = 11223344
 ipv6, x213_nsap
  transportLayerAddress = 350000f11ff22ff33ff44ff55ff66ff77ff88f00
  gTP_TEI = 11223344
 ipv6
  transportLayerAddress = f11ff22ff33ff44ff55ff66ff77ff88f
  gTP_TEI = 11223344
 unsupported address family
Testing function ranap_new_transp_info_rtp()
 ipv4, x213_nsap
  transportLayerAddress = 3500010102030400000000000000000000000000
  bindingID = 11220000
 ipv4
  transportLayerAddress = 01020304
  bindingID = 11220000
 ipv6, x213_nsap
  transportLayerAddress = 350000f11ff22ff33ff44ff55ff66ff77ff88f00
  bindingID = 11220000
 ipv6
  transportLayerAddress = f11ff22ff33ff44ff55ff66ff77ff88f
  bindingID = 11220000
 unsupported address family
Testing function ranap_transp_layer_addr_decode()
 ipv4, x213_nsap
  addr=1.2.3.4
 ipv4
  addr=1.2.3.4
Testing function ranap_transp_layer_addr_decode2()
 ipv4, x213_nsap
  addr=1.2.3.4, af=2, x213_nsap=1
 ipv4
  addr=1.2.3.4, af=2, x213_nsap=0
 ipv6, x213_nsap
  addr=f11f:f22f:f33f:f44f:f55f:f66f:f77f:f88f, af=10, x213_nsap=1
 ipv6
  addr=f11f:f22f:f33f:f44f:f55f:f66f:f77f:f88f, af=10, x213_nsap=0
