// Tests for mecha10_cli::handlers::discover

use mecha10_cli::handlers::discover::*;

#[test]
fn test_discover_args() {
    let args = DiscoverArgs {
        timeout: Some(10),
        monitor: false,
    };

    assert_eq!(args.timeout, Some(10));
    assert!(!args.monitor);
}

#[test]
fn test_discover_args_monitor() {
    let args = DiscoverArgs {
        timeout: None,
        monitor: true,
    };

    assert!(args.timeout.is_none());
    assert!(args.monitor);
}
