//! Unified tests for Hamelin tree AST and type resolution
//!
//! This module contains comprehensive tests that validate both:
//! 1. AST parsing - ensuring the parser produces correct AST structures
//! 2. Type resolution - ensuring the typed AST resolves to expected types
//!
//! `template_parameters` covers templated `FROM` typing (no SQL execution).
//!
//! The tests use builders to construct expected AST structures, making them
//! more maintainable and easier to refactor than comparing SQL output strings.