public void CompressDecompressAsync_First1000_Parallel()
        {
            // Create input
            var input = new List <UInt64>(1000);

            input.Seed(0, 999);

            // Compress
            var compressed = new MemoryStream();
            var a          = Codec.CompressUnsignedAsync(compressed, input.ToArray());

            a.Wait();

            // Rewind stream
            compressed.Seek(0, SeekOrigin.Begin);

            // Decompress
            var b = Codec.DecompressUnsignedAsync(compressed, input.Count);

            b.Wait();
            var output = b.Result.ToList();

            // Validate
            for (var i = 0; i < 1000; i++)
            {
                Assert.AreEqual((UInt64)i, output[i]);
            }
        }