public void FSharpListTest_1_Success() { var collection = FSharpList <int> .Empty; collection = new FSharpList <int>(0, collection); var target = this.CreateTarget <FSharpList <int> >(); using (var buffer = new MemoryStream()) { target.Pack(buffer, collection); buffer.Position = 0; var unpacked = target.Unpack(buffer); buffer.Position = 0; Assert.That(unpacked.ToArray(), Is.EqualTo(collection.ToArray())); } }