ItemRangesIterator tests re-enabled.
This commit is contained in:
1 parent
9d2cb050d2
commit
ac6d71686c
1 file changed
+6
-6
@@ -15,14 +15,14 @@ namespace Recyclable.CollectionsTests
|
|||||||
var actual = new List<(int BlockIndex, int StartingItemIndex, long ItemsCount)>();
|
var actual = new List<(int BlockIndex, int StartingItemIndex, long ItemsCount)>();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
//ItemRangesIterator.Iterate(startingBlockIndex, blockSize, blockSizePow2BitShift, itemsCount, step, (searchInfo) =>
|
ItemRangesIterator.Iterate(startingBlockIndex, blockSize, blockSizePow2BitShift, itemsCount, step, (searchInfo) =>
|
||||||
//{
|
{
|
||||||
// actual.Add((searchInfo.BlockIndex, searchInfo.StartingItemIndex, searchInfo.ItemsToSearchCount));
|
actual.Add((searchInfo.BlockIndex, searchInfo.StartingItemIndex, searchInfo.ItemsToSearchCount));
|
||||||
// return true;
|
return true;
|
||||||
//});
|
});
|
||||||
|
|
||||||
// Validate
|
// Validate
|
||||||
//_ = actual.Should().HaveCount(expected.Count()).And.ContainInConsecutiveOrder(expected);
|
_ = actual.Should().HaveCount(expected.Count()).And.ContainInConsecutiveOrder(expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IEnumerable<object[]> TestCases => new[]
|
public static IEnumerable<object[]> TestCases => new[]
|
||||||
|
|||||||
Reference in new issue
Block a user