Tiny performance improvement in tests.
This commit is contained in:
1 parent
56c14910e0
commit
6788c7a18c
1 file changed
+2
-1
@@ -520,9 +520,10 @@ namespace Recyclable.CollectionsTests
|
|||||||
{
|
{
|
||||||
// Prepare
|
// Prepare
|
||||||
var expectedData = testData.ToList();
|
var expectedData = testData.ToList();
|
||||||
|
TestCopyTo(0);
|
||||||
|
|
||||||
foreach (var itemIndex in itemIndexes)
|
foreach (var itemIndex in itemIndexes)
|
||||||
{
|
{
|
||||||
TestCopyTo(0);
|
|
||||||
TestCopyTo((int)itemIndex);
|
TestCopyTo((int)itemIndex);
|
||||||
TestCopyTo((int)itemIndex);
|
TestCopyTo((int)itemIndex);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user