//! Minimal compilation test for extended interface
//! This test just verifies the code compiles and types are correct

#[cfg(feature = "extended")]
mod extended_tests {
    use cp2k_rs::ForceEnv;

    #[test]
    fn test_extended_api_types() {
        // This test just verifies the API signatures compile correctly
        // It won't run without actual CP2K, but ensures type safety

        // These are just type checks, they won't execute
        fn _check_types() {
            fn _accepts_force_env(fe: &ForceEnv) {
                // Check boolean return
                let _: bool = fe.is_quickstep();

                // These would return Results but we're just checking types compile
                let _ = fe.get_stress_tensor();
                let _ = fe.get_virial_tensor();
                let _ = fe.get_nmo(1);
                let _ = fe.get_eigenvalues(1);
                let _ = fe.get_occupation_numbers(1);
                let _ = fe.get_homo_lumo(1);
                let _ = fe.get_band_gap(1);
                let _ = fe.get_mulliken_charges();
                let _ = fe.get_dipole_moment();
                let _ = fe.get_scf_info();
            }
        }
    }
}

#[cfg(not(feature = "extended"))]
#[test]
fn test_extended_feature_not_enabled() {
    // Just a placeholder test when extended feature is disabled
    assert!(true, "Extended feature not enabled");
}
