use mecha10_cli::handlers::sim::*;
#[test]
fn test_sim_generate_args() {
let args = SimGenerateArgs {
config: PathBuf::from("mecha10.json"),
output: PathBuf::from("simulation/godot"),
max_envs: 5,
min_score: 50,
};
assert_eq!(args.config, PathBuf::from("mecha10.json"));
assert_eq!(args.max_envs, 5);
assert_eq!(args.min_score, 50);
}
#[test]
fn test_sim_run_args() {
let args = SimRunArgs {
robot: "my-robot".to_string(),
env: "warehouse".to_string(),
headless: true,
};
assert_eq!(args.robot, "my-robot");
assert_eq!(args.env, "warehouse");
assert!(args.headless);
}