public void WriteUInt64_Sequence() { using (var f = new GenericFile()) { f.CreateFile(new byte[16]); f.WriteUInt64(42); f.WriteUInt64(UInt64.MaxValue); Assert.IsTrue((new byte[] { 42, 00, 00, 00, 00, 00, 00, 00, 255, 255, 255, 255, 255, 255, 255, 255 }).SequenceEqual(f.Read())); } }