public void CliArgExists_HasMixedArg2_ReturnsTrue() { var _args = new string[] { "/arg0", "-ARG1", "/Arg2" }; var result = ProcessUtils.CliArgExists(_args, "arg2"); Assert.IsTrue(result); }
public void CliArgExists_HasInvalidArg0_ReturnsFalse() { var _args = new string[] { "/arg0", "-ARG1", "/Arg2" }; var result = ProcessUtils.CliArgExists(_args, "/Arg0"); Assert.IsFalse(result); }
public void CliArgExists_HasCapitalArg1_ReturnsTrue() { var _args = new string[] { "/arg0", "-ARG1", "/Arg2" }; // try typical permutations var result = ProcessUtils.CliArgExists(_args, "arg1"); Assert.IsTrue(result); }