Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

New Post: Should().Equal() vs Assert.AreEqual on empty collections

$
0
0

Should().Equal() will compare the individual items within the two collections, but doesn't care about the collection type itself. Unfortunately, we don't have the Should().BeSameAs() on the collection, unless you do something like liste1.Should<object>().BeSameAs(liste2);


Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>