use super::*;
#[test]
fn _0001() {
let matches = Clar::new(APP)
.commands([ClarCommand::new("a").options_terminator([ClarOption::short("help", 'h')], ClarTerminator::new("terminator"))])
.resolve(EMPTY_INPUT)
.unwrap();
assert!(!matches.is_present("a"));
assert!(!matches.is_present(["a", "help"]));
assert!(!matches.is_present(["a", "terminator"]));
}
#[test]
fn _0002() {
let matches = Clar::new(APP)
.commands([ClarCommand::new("a").options_terminator([ClarOption::short("help", 'h')], ClarTerminator::new("terminator"))])
.resolve(["a", "-h", "--"])
.unwrap();
assert!(matches.is_present("a"));
assert!(matches.is_present(["a", "help"]));
assert!(matches.is_present(["a", "terminator"]));
}