mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
// Tests for mecha10_cli::handlers::control_plane

use mecha10_cli::handlers::control_plane::*;

#[test]
fn test_control_plane_args() {
    let args = ControlPlaneArgs {
        detach: true,
        build: false,
    };

    assert!(args.detach);
    assert!(!args.build);
}

#[test]
fn test_control_plane_args_build() {
    let args = ControlPlaneArgs {
        detach: false,
        build: true,
    };

    assert!(!args.detach);
    assert!(args.build);
}