public void IfStatementTwoItemsTrue() { var strings = YieldClass.IfStatementTwoItems(true).ToArray(); AssertEquals(strings.Length, 2); AssertEquals(strings[0], "one"); AssertEquals(strings[1], "two"); }
public void IfStatementTwoItemsFalse() { var strings = YieldClass.IfStatementTwoItems(false).ToArray(); AssertEquals(strings.Length, 2); AssertEquals(strings[0], "three"); AssertEquals(strings[1], "four"); }