Skip to content

Commit

Permalink
Merge 1ebad8a into d93bc09
Browse files Browse the repository at this point in the history
  • Loading branch information
chvollm committed Mar 10, 2022
2 parents d93bc09 + 1ebad8a commit c7eb606
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,17 @@ public void When_two_collections_contain_the_same_elements_it_should_treat_them_
collection1.Should().BeEquivalentTo(collection2);
}

[Fact]
public void When_two_arrays_contain_the_same_elements_it_should_treat_them_as_equivalent()
{
// Arrange
string[] array1 = new[] { "one", "two", "three" };
string[] array2 = new[] { "three", "two", "one" };

// Act / Assert
array1.Should().BeEquivalentTo(array2);
}

[Fact]
public void When_two_collections_contain_the_same_items_but_in_different_order_it_should_throw_with_a_clear_explanation()
{
Expand Down

0 comments on commit c7eb606

Please sign in to comment.