public void WriteInt16_Sequence() { using (var f = new GenericFile()) { f.CreateFile(new byte[4]); f.WriteInt16(42); f.WriteInt16(-1); Assert.IsTrue((new byte[] { 42, 00, 255, 255 }).SequenceEqual(f.Read())); } }