Skip to content

Commit

Permalink
Add minimunCapacity to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fausto David committed Feb 4, 2020
1 parent 689f206 commit cd38bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ListPool.UnitTests/ListPool/ListPoolTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void Create_list_by_passing_another_without_items_set_minimum_capacity()

using ListPool<int> sut = new ListPool<int>(emptyList);

Assert.Equal(0, sut.Capacity);
Assert.Equal(64, sut.Capacity);
}

public override void Add_items_when_capacity_is_full_then_buffer_autogrow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void Create_list_by_passing_another_without_items_set_minimum_capacity()

using ValueListPool<int> sut = new ValueListPool<int>(emptyList);

Assert.Equal(0, sut.Capacity);
Assert.Equal(64, sut.Capacity);
}

public override void Contains_return_true_when_item_exists()
Expand Down

0 comments on commit cd38bee

Please sign in to comment.