// Tests for mecha10_cli::framework::template_engine

use mecha10_cli::framework::template_engine::*;

#[test]
fn test_template_vars_name_transformations() {
    let mut vars = TemplateVars::new();
    vars.add_name("camera_driver");

    let map = vars.to_hashmap();
    assert_eq!(map.get("name"), Some(&"camera_driver"));
    assert_eq!(map.get("PascalName"), Some(&"CameraDriver"));
    assert_eq!(map.get("UPPER_NAME"), Some(&"CAMERA_DRIVER"));
}
