xUnit : Assert two List<T> are equal?
I'm new to TDD and xUnit so I want to test my method that looks something like:
List DeleteElements(this List a, List b);
Is there any Assert method that I can use ? I think something like this would be nice
List values = new List() { 1, 2, 3 };
List expected = new List() { 1 };
List actual = values.DeleteElements(new List() { 2, 3 });
Assert.Exact(expected, actual);
Is there something like this ?