Esempio n. 1
0
        public void TestStore()
        {
            FontXRecord record = new FontXRecord();
            record.FontIndex = ((short)5);


            byte[] recordBytes = record.Serialize();
            Assert.AreEqual(recordBytes.Length - 4, data.Length);
            for (int i = 0; i < data.Length; i++)
                Assert.AreEqual(data[i], recordBytes[i + 4], "At offset " + i);
        }