Esempio n. 1
0
        public void Test_CentralPart(string source, string description)
        {
            BitArrayInputStream stream = source.GetInputStream();

            Assert.AreEqual(stream.ReadBits(5), 4);
            RRCConnectionSetupComplete        signal = RRCConnectionSetupComplete.PerDecoder.Instance.Decode(stream);
            RRCConnectionSetupComplete_r8_IEs item   = signal.criticalExtensions.c1.rrcConnectionSetupComplete_r8;

            Assert.AreEqual(item.GetOutputs(), description);
        }
Esempio n. 2
0
        public void Test_Decode(string source, int transactionId)
        {
            BitArrayInputStream stream = source.GetInputStream();

            Assert.AreEqual(stream.ReadBits(5), 4);
            RRCConnectionSetupComplete signal = RRCConnectionSetupComplete.PerDecoder.Instance.Decode(stream);

            Assert.IsNotNull(signal);
            Assert.AreEqual(signal.rrc_TransactionIdentifier, transactionId);
            RRCConnectionSetupComplete_r8_IEs item = signal.criticalExtensions.c1.rrcConnectionSetupComplete_r8;

            Assert.IsNotNull(item);
        }