public void commandLine_Contains_using_valid_args_should_ignore_casing() { var expected = true; var target = new CommandLine( new[] { "D" } ); Boolean actual = target.Contains( "d" ); actual.Should().Be.EqualTo( expected ); }
public void commandLine_Contains_using_invalid_args_should_return_false() { var expected = false; var target = new CommandLine( new[] { "-data" } ); Boolean actual = target.Contains( "d" ); actual.Should().Be.EqualTo( expected ); }
public void commandLine_Contains_using_valid_args_should_return_true_ignoring_slash_arg_prefix() { var expected = true; var target = new CommandLine( new[] { "/d" } ); Boolean actual = target.Contains( "d" ); actual.Should().Be.EqualTo( expected ); }