public void OnCommandLineWithNoPrefixTest() { string[] args = new[] { "-alpha:start", "-no-beta", "dummy", "-gamma:end" }; WithBoolTrue wb = TrueBoolUnitTests.Parse(args); Assert.IsFalse(wb.Beta); }
public void WithFalseTest() { string[] args = new[] { "-alpha:start", "-beta:false", "dummy", "-gamma:end" }; WithBoolTrue wb = TrueBoolUnitTests.Parse(args); Assert.IsFalse(wb.Beta); }
public void OnCommandLineTest() { string[] args = new[] { "-alpha:start", "-beta", "-gamma:end" }; WithBoolTrue wb = TrueBoolUnitTests.Parse(args); Assert.IsTrue(wb.Beta); }