Exemple #1
0
 public void ReadInt16_Sequence()
 {
     using (var f = new GenericFile())
     {
         f.CreateFile(new byte[] { 42, 00, 255, 255 });
         Assert.AreEqual(42, f.ReadInt16());
         Assert.AreEqual(-1, f.ReadInt16());
     }
 }