RecyclableList.Contains & .IndexOf fixed. Tests modified to validate operations on multiple blocks.

This commit is contained in:
Marek Lemańczyk committed 2023-02-05 19:49:28 +01:00
1 parent f00849614f
commit 743e88f0e6
4 files changed
+40 -40

No files matched your search

@@ -8,7 +8,7 @@ namespace Recyclable.CollectionsTests
private const int _totalObjectCount = 5_000;
private static RecyclableList<int> NewRecyclableList => CreateReversedRecyclableList(_testData);
private static readonly IEnumerable<int> _testData = Enumerable.Range(1, _totalObjectCount);
private static RecyclableList<int> CreateReversedRecyclableList(IEnumerable<int> source) => new(source);
private static RecyclableList<int> CreateReversedRecyclableList(IEnumerable<int> source) => new(source, 1024);
[Fact]
public void AddShouldAddItems()