|
|
|
@@ -28,8 +28,16 @@ LOCATIONS: list[dict] = [
|
|
|
|
{"id": "guatemala_antigua", "lat": 14.5586, "lon": -90.7295, "name": "Antigua", "country": "GT", "variety": "Arabica"},
|
|
|
|
{"id": "guatemala_antigua", "lat": 14.5586, "lon": -90.7295, "name": "Antigua", "country": "GT", "variety": "Arabica"},
|
|
|
|
# Indonesia — Sumatra (Mandheling); significant Robusta production
|
|
|
|
# Indonesia — Sumatra (Mandheling); significant Robusta production
|
|
|
|
{"id": "indonesia_sumatra", "lat": 3.5952, "lon": 98.6722, "name": "Sumatra", "country": "ID", "variety": "Robusta"},
|
|
|
|
{"id": "indonesia_sumatra", "lat": 3.5952, "lon": 98.6722, "name": "Sumatra", "country": "ID", "variety": "Robusta"},
|
|
|
|
|
|
|
|
# Brazil — Espírito Santo; largest Conilon (Robusta) producing state in Brazil
|
|
|
|
|
|
|
|
{"id": "brazil_espirito_santo", "lat": -19.3908, "lon": -40.0668, "name": "Espírito Santo", "country": "BR", "variety": "Robusta"},
|
|
|
|
|
|
|
|
# Peru — Jaén/Cajamarca; fastest-growing Arabica origin, top-10 global producer
|
|
|
|
|
|
|
|
{"id": "peru_jaen", "lat": -5.7064, "lon": -78.8077, "name": "Jaén", "country": "PE", "variety": "Arabica"},
|
|
|
|
|
|
|
|
# Uganda — Mount Elgon/Bugisu; 4th largest African producer, significant Robusta
|
|
|
|
|
|
|
|
{"id": "uganda_elgon", "lat": 1.0826, "lon": 34.1751, "name": "Mount Elgon", "country": "UG", "variety": "Robusta"},
|
|
|
|
|
|
|
|
# Ivory Coast — Daloa region; historically significant West African Robusta
|
|
|
|
|
|
|
|
{"id": "ivory_coast_daloa", "lat": 6.8774, "lon": -6.4502, "name": "Daloa", "country": "CI", "variety": "Robusta"},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
assert len(LOCATIONS) == 8, f"Expected 8 locations, got {len(LOCATIONS)}"
|
|
|
|
assert len(LOCATIONS) == 12, f"Expected 12 locations, got {len(LOCATIONS)}"
|
|
|
|
assert all("id" in loc and "lat" in loc and "lon" in loc for loc in LOCATIONS), \
|
|
|
|
assert all("id" in loc and "lat" in loc and "lon" in loc for loc in LOCATIONS), \
|
|
|
|
"Each location must have id, lat, lon"
|
|
|
|
"Each location must have id, lat, lon"
|
|
|
|
|