public void should_return_a_blank_space_when_args_is_empty() { var cmdParam = new CmdParam(new string[] { }); Assert.AreEqual(" ", cmdParam.GetSeparatorParam()); }
public void should_return_given_separator_when_second_parameter_given_the_separator() { var cmdParam = new CmdParam(new[] { "6", "-", "/x" }); Assert.AreEqual("-", cmdParam.GetSeparatorParam()); }
public void should_return_a_blank_space_when_second_parameter_is_not_exist() { var cmdParam = new CmdParam(new[] { "6" }); Assert.AreEqual(" ", cmdParam.GetSeparatorParam()); }