### Question:
GWTBounds { public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); } GWTBounds(GWTLatLng southWestCorner, GWTLatLng northEastCorner);  GWTBounds(double swLat, double swLng, double neLat, double neLng); boolean contains(GWTLatLng coords); boolean contains(GWTBounds bounds); GWTLatLng getSouthWestCorner(); GWTLatLng getNorthEastCorner(); boolean equals(Object o); int hashCode(); String toString();  }### Answer:
@Test public void testEasternHemiContains() { GWTBounds bounds = new GWTBounds(new GWTLatLng(30.0, 70.0), new GWTLatLng(40.0, 80.0)); GWTLatLng coords = new GWTLatLng(35.0, 75.0); assertTrue(bounds.contains(coords)); }
@Test public void testWesternHemiContains() { GWTBounds bounds = new GWTBounds(new GWTLatLng(30.0, -80.0), new GWTLatLng(40.0, -70.0)); GWTLatLng coords = new GWTLatLng(35.0, -75.0); assertTrue(bounds.contains(coords)); }
@Test public void testSouthernHemiContains() { GWTBounds bounds = new GWTBounds(new GWTLatLng(-40.0, -80.0), new GWTLatLng(30.0, 70.0)); GWTLatLng coords = new GWTLatLng(-35.0, -75.0); assertTrue(bounds.contains(coords)); }
@Test public void testDatelineContains() { GWTBounds bounds = new GWTBounds(new GWTLatLng(-40.0, 80.0), new GWTLatLng(30.0, -70.0)); GWTLatLng coords = new GWTLatLng(10.0, -175.0); assertTrue(bounds.contains(coords)); }