Cleanup.
This commit is contained in:
1 parent
0159042755
commit
ec69b1c406
38 files changed
+167
-181
No files matched your search
@@ -1,4 +1,6 @@
|
||||
using FluentAssertions;
|
||||
// Ignore Spelling: Utils
|
||||
|
||||
using FluentAssertions;
|
||||
using Recyclable.Collections;
|
||||
|
||||
namespace Recyclable.CollectionsTests
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace Recyclable.CollectionsTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DequeueShoudRaiseArgumentOutOfRangeWhenNoMoreElementsFound()
|
||||
public void DequeueShouldRaiseArgumentOutOfRangeWhenNoMoreElementsFound()
|
||||
{
|
||||
// Prepare
|
||||
using var list = new RecyclableQueue<string>(_testData);
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace Recyclable.CollectionsTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void PopShoudRaiseArgumentOutOfRangeWhenNoMoreElementsFound()
|
||||
public void PopShouldRaiseArgumentOutOfRangeWhenNoMoreElementsFound()
|
||||
{
|
||||
// Prepare
|
||||
using var list = new RecyclableQueue<string>(_testData);
|
||||
|
||||
Reference in new issue
Block a user