public void ListTest() { var array = (List <char>)CollectionsReflect.ToGenericList(_enumerable, out _); Assert.NotNull(array); Assert.AreEqual(c_loremIpsu.Length, array.Count); Assert.Pass(); }
public void ArrayTest() { var array = (char[])CollectionsReflect.ToGenericArray(_enumerable, out _); Assert.NotNull(array); Assert.AreEqual(c_loremIpsu.Length, array.Length); Assert.Pass(); }