// Tests for mecha10_cli::handlers::run

use mecha10_cli::handlers::run::*;

#[test]
fn test_run_args() {
    let args = RunArgs {
        nodes: vec!["camera_driver".to_string()],
        release: true,
        detach: false,
    };

    assert_eq!(args.nodes.len(), 1);
    assert!(args.release);
    assert!(!args.detach);
}

#[test]
fn test_run_args_detached() {
    let args = RunArgs {
        nodes: vec![],
        release: false,
        detach: true,
    };

    assert!(args.nodes.is_empty());
    assert!(!args.release);
    assert!(args.detach);
}
