Exemplo n.º 1
0
        public void Test_TLValue_Input_OK()
        {
            TLValue expected = new TLValue();
            expected.Name = "ola testing ah";
            expected.Value = "22";
            expected.Length = 2;
            expected.Tag = "44";

            int resultIndex = expected.ParseValueInput("4402336600225566", 0);

            Assert.AreEqual(8, resultIndex);
            Assert.AreEqual(expected.Value, "3366");
            Assert.AreEqual(expected.Length, 2);
        }