Consider
new[] { 1, 2, 2, 3 }.Should().ContainInOrder(new[] { 1, 2, 3 });
Should that be passing or failing?
And what about
new[] { 1, 2, 3, 2 }.Should().ContainInOrder(new[] { 1, 2, 3 });
I'm not sure what really to expect.
For my gut, the first example should pass (which it does not at the moment); the second example should not pass.
What are your thoughts?
new[] { 1, 2, 2, 3 }.Should().ContainInOrder(new[] { 1, 2, 3 });
Should that be passing or failing?
And what about
new[] { 1, 2, 3, 2 }.Should().ContainInOrder(new[] { 1, 2, 3 });
I'm not sure what really to expect.
For my gut, the first example should pass (which it does not at the moment); the second example should not pass.
What are your thoughts?