// Tests for mecha10_cli::handlers::dev

use mecha10_cli::handlers::dev::*;

#[test]
fn test_dev_args() {
    let args = DevArgs {
        nodes: vec!["camera_driver".to_string(), "motor_controller".to_string()],
        watch: true,
        no_build: false,
    };

    assert_eq!(args.nodes.len(), 2);
    assert!(args.watch);
    assert!(!args.no_build);
}

#[test]
fn test_dev_args_empty_nodes() {
    let args = DevArgs {
        nodes: vec![],
        watch: false,
        no_build: true,
    };

    assert!(args.nodes.is_empty());
    assert!(!args.watch);
    assert!(args.no_build);
}
