.ToRecyclableList & .ToRecyclableLongList calls replaced with standard .Net collections for better stability.
This commit is contained in:
1 parent
cb66a90a9c
commit
aeb0ee23f1
1 file changed
+2
-2
@@ -138,7 +138,7 @@ namespace Recyclable.CollectionsTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Validate
|
// Validate
|
||||||
using var expectedData = testData.Concat(testData).ToRecyclableLongList();
|
var expectedData = testData.Concat(testData).ToArray();
|
||||||
|
|
||||||
if (itemsCount > 0)
|
if (itemsCount > 0)
|
||||||
{
|
{
|
||||||
@@ -154,7 +154,7 @@ namespace Recyclable.CollectionsTests
|
|||||||
public void AddShouldAcceptDuplicates(string testCase, IEnumerable<long> testData, long itemsCount)
|
public void AddShouldAcceptDuplicates(string testCase, IEnumerable<long> testData, long itemsCount)
|
||||||
{
|
{
|
||||||
// Prepare
|
// Prepare
|
||||||
testData = testData.Concat(testData).ToRecyclableLongList();
|
testData = testData.Concat(testData).ToArray();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
using var list = new RecyclableList<long>();
|
using var list = new RecyclableList<long>();
|
||||||
|
|||||||
Reference in new issue
Block a user