public void should_return_0_when_first_parameter_is_invalid_numeric_string() { var cmdParam = new CmdParam(new[] { "/x" }); Assert.AreEqual(0, cmdParam.GetColumnParam()); }
public void should_return_0_when_args_is_empty() { var cmdParam = new CmdParam(new string[] { }); Assert.AreEqual(0, cmdParam.GetColumnParam()); }
public void should_return_given_number_when_first_parameter_is_valid_numeric_string() { var cmdParam = new CmdParam(new[] { "6", "-", "/x" }); Assert.AreEqual(6, cmdParam.GetColumnParam()); }