As unit testing is not used in our firm, I'm teaching myself to unit test my own code. I'm using the standard .net test framework for some really basic unit testing.
A method of mine returns a IEnumerable<string>
and I want to test it's output.
So I created an IEnumerable<string>
expected to test it against.
I thought I remembered there to be a way to Assert.ArePartsEqual
or something like that, but I can't seem to find it.
So in short, how do I test if two IEnumerable<string>
contain the same strings?