This commit is contained in:
mlemanczyk committed 2023-10-21 17:26:35 +02:00
1 parent 0159042755
commit ec69b1c406
38 files changed
+167 -181

No files matched your search

@@ -1329,13 +1329,13 @@ namespace Recyclable.CollectionsTests
public void RemoveAtShouldClearItemWhenReferenceType(string testCase, IEnumerable<object> testData, int itemsCount, in long[] indexesToRemove)
{
// Prepare
foreach (int indexToRemove in indexesToRemove)
foreach (long indexToRemove in indexesToRemove)
{
using var list = new RecyclableList<object>(testData, itemsCount);
_ = list[^1].Should().NotBeNull();
// Act
list.RemoveAt(indexToRemove);
list.RemoveAt((int)indexToRemove);
// Validate
_ = list[list.Count].Should().BeNull();
@@ -1391,7 +1391,7 @@ namespace Recyclable.CollectionsTests
public void RemoveShouldClearItemWhenReferenceType(string testCase, IEnumerable<object> testData, int itemsCount, in long[] indexesToRemove)
{
foreach (int indexToRemove in indexesToRemove)
foreach (long indexToRemove in indexesToRemove)
{
// Prepare
using var list = new RecyclableList<object>(testData, itemsCount);