public async Task WriteInt64_Async() { using (var f = new GenericFile()) { f.CreateFile(new byte[16]); await f.WriteInt64Async(0, 42); await f.WriteInt64Async(8, -1); Assert.IsTrue((new byte[] { 42, 00, 00, 00, 00, 00, 00, 00, 255, 255, 255, 255, 255, 255, 255, 255 }).SequenceEqual(f.Read())); } }