Hello,
I have a test method:
[TestMethod()]
public void test_chars()
{
MyBO target = new MyBO() { x = 'S' };
char[] expected = {'D','d','M','m','L','l'};
char actual = target.s;
Assert.AreEqual(actual, expected); // ?
}
How can i check with Assert.AreEqual if target.x is in that char[] expected? So 'S' isn't part of that array, so test should fail. Is it possible?
Thanks