diff --git a/src/proj.rs b/src/proj.rs index 83970945..16453bea 100644 --- a/src/proj.rs +++ b/src/proj.rs @@ -101,10 +101,10 @@ pub enum ProjError { /// `west` must be greater than `east`. #[derive(Copy, Clone, Debug)] pub struct Area { - north: f64, - south: f64, - east: f64, - west: f64, + pub north: f64, + pub south: f64, + pub east: f64, + pub west: f64, } impl Area { @@ -1119,6 +1119,6 @@ mod test { assert_eq!(area.south, 24.6); assert_eq!(area.east, 44.83); assert_eq!(area.north, 84.17); - assert_eq!(name, "Europe - LCC & LAEA"); + assert!(name.contains("Europe")); } }