public void UpdateTest()
        {
            const string data = "How now, brown cow?";
            var          list = data.Split().Aggregate(SkewBinaryRandomAccessList <string> .Empty, (current, word) => SkewBinaryRandomAccessList <string> .Cons(word, current));

            list = SkewBinaryRandomAccessList <string> .Update(1, "green", list);

            Assert.AreEqual("green", SkewBinaryRandomAccessList <string> .Lookup(1, list));
        }
        public void HeadTest()
        {
            const string data = "How now, brown cow?";
            var          list = data.Split().Aggregate(SkewBinaryRandomAccessList <string> .Empty, (current, word) => SkewBinaryRandomAccessList <string> .Cons(word, current));

            Assert.AreEqual("cow?", SkewBinaryRandomAccessList <string> .Head(list));

            list = SkewBinaryRandomAccessList <string> .Update(0, "dog?", list);

            Assert.AreEqual("dog?", SkewBinaryRandomAccessList <string> .Head(list));
        }