IndexOf & LongIndexOf made alike. Small refactoring.

This commit is contained in:
Marek Lemańczyk committed 2023-03-05 18:50:09 +01:00
1 parent a50ef10989
commit ec355160f9
2 files changed
+30 -55

No files matched your search

@@ -169,10 +169,10 @@ namespace Recyclable.CollectionsTests
using var list = NewRecyclableList;
// Act & Validate
foreach (var index in _testData)
foreach (var item in _testData)
{
var actual = list.IndexOf(index);
_ = actual.Should().Be(index - 1);
var actual = list.IndexOf(item);
_ = actual.Should().Be(item - 1);
}
}