Пример #1
0
        public void TestLengthFromSegData()
        {
            Assert.AreEqual(NuSD.PreLenOfFirstSegFromTable(tableThree), 1);
            Assert.AreEqual(NuSD.PreLenOfFirstSegFromData(tableThree, 6), 1);
            Assert.AreEqual(NuSD.PreLenOfFirstSegFromData(tableThree, 9), 1);

            Assert.AreEqual(NuSD.BodyLenOfFirstSegFromTable(tableThree), 5);
            Assert.AreEqual(NuSD.BodyLenOfFirstSegFromData(tableThree, 6), 2);
            Assert.AreEqual(NuSD.BodyLenOfFirstSegFromData(tableThree, 9), 1);
        }