// Tests for mecha10_cli::handlers::build

use mecha10_cli::handlers::build::*;

#[test]
fn test_build_args_creation() {
    let args = BuildArgs {
        release: true,
        target: Some("aarch64-unknown-linux-gnu".to_string()),
    };

    assert!(args.release);
    assert_eq!(args.target, Some("aarch64-unknown-linux-gnu".to_string()));
}

#[test]
fn test_build_args_default() {
    let args = BuildArgs {
        release: false,
        target: None,
    };

    assert!(!args.release);
    assert!(args.target.is_none());
}
