public void NestedIfFalseFalse() { var strings = YieldClass.NestedIf(false, false).ToArray(); AssertEquals(strings.Length, 1); AssertEquals(strings[0], "four"); }
public void NestedIfFalseTrue() { var strings = YieldClass.NestedIf(false, true).ToArray(); AssertEquals(strings.Length, 1); AssertEquals(strings[0], "three"); }
public void NestedIfTrueTrue() { var strings = YieldClass.NestedIf(true, true).ToArray(); AssertEquals(strings.Length, 1); AssertEquals(strings[0], "one"); }
public void NestedIfTrueFalse() { var strings = YieldClass.NestedIf(true, false).ToArray(); AssertEquals(strings.Length, 1); AssertEquals(strings[0], "two"); }
public void NestedIfTrueTrue() { var strings = YieldClass.NestedIf(true, true).ToArray(); QUnit.AreEqual(strings.Length, 1); QUnit.AreEqual(strings[0], "one"); }