()
| 401 | |
| 402 | #[test] |
| 403 | fn test_format_loading() { |
| 404 | let result = load_format_data(); |
| 405 | assert!(result.is_ok(), "Failed to load format data"); |
| 406 | |
| 407 | let sg_format = get_country_format("sg"); |
| 408 | assert!(sg_format.is_ok(), "Failed to get SG format"); |
| 409 | |
| 410 | let sg = sg_format.unwrap(); |
| 411 | assert_eq!(sg.code, "65"); |
| 412 | |
| 413 | let area_codes = sg.area_codes; |
| 414 | assert!(area_codes.contains(&"8".to_string()), "SG should have area code 8"); |
| 415 | assert!(area_codes.contains(&"9".to_string()), "SG should have area code 9"); |
| 416 | } |
| 417 | |
| 418 | #[test] |
| 419 | fn test_specific_number_generation_us() { |
nothing calls this directly
no test coverage detected