use faker_rust::locale;
fn main() {
println!("=== Testing context-specific lookups ===\n");
let r1 = locale::fetch_locale_with_context("female_first_name", "en", Some("address"));
println!(
"fetch_locale_with_context('female_first_name', 'en', Some('address')): {} items",
r1.as_ref().map(|v| v.len()).unwrap_or(0)
);
let r2 = locale::fetch_locale_with_context("city_suffix", "en", Some("address"));
println!(
"fetch_locale_with_context('city_suffix', 'en', Some('address')): {} items",
r2.as_ref().map(|v| v.len()).unwrap_or(0)
);
let r3 = locale::fetch_locale_with_context("city_prefix", "en", Some("address"));
println!(
"fetch_locale_with_context('city_prefix', 'en', Some('address')): {} items",
r3.as_ref().map(|v| v.len()).unwrap_or(0)
);
}