Example #1
0
        public void Unnest_Is_Not_Destructive()
        {
            var nest = new object[] { 1, new[] { 2 }, new object[] { 3, new[] { 4, 5 }, 6, new object[] { new object[] { new[] { 7 }, 8 } } }, 9, 10 };

            NestedCollectionAssert.AreNotEqual(R.Unnest(nest), nest);
        }