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