Esempio n. 1
0
 public void ReadUInt16_Sequence()
 {
     using (var f = new GenericFile())
     {
         f.CreateFile(new byte[] { 42, 00, 255, 255 });
         Assert.AreEqual(42, f.ReadUInt16());
         Assert.AreEqual(UInt16.MaxValue, f.ReadUInt16());
     }
 }