示例#1
0
        public void WriteProfile_DuplicateEntry()
        {
            IccWriter writer = CreateWriter();

            byte[] output = writer.Write(IccTestDataProfiles.Profile_Random_Val);

            Assert.Equal(IccTestDataProfiles.Profile_Random_Array, output);
        }
示例#2
0
        public void WriteProfile_NoEntries()
        {
            IccWriter writer = CreateWriter();

            IccProfile profile = new IccProfile
            {
                Header = IccTestDataProfiles.Header_Random_Write
            };

            byte[] output = writer.Write(profile);

            Assert.Equal(IccTestDataProfiles.Header_Random_Array, output);
        }