public void ConvertAllTest() { DynamicArray <int> array = new DynamicArray <int>(); List <int> list = new List <int>(); FillCollections(array, list); var resArray = array.ConvertAll(val => val.ToString()); var resList = list.ConvertAll(val => val.ToString()); if (!HaveEqualsElements(resArray, resList)) { Assert.Fail(); } }