RegionEvent extends Event implements JsonSerializable { static boolean regionEventLatitudeIsValid(@NonNull Double lat) { return lat <= RegionEvent.MAX_LATITUDE && lat >= RegionEvent.MIN_LATITUDE; } private  RegionEvent(@NonNull RegionEvent.Builder builder); @NonNull static Builder newBuilder(); @NonNull @Override final String getType(); @Boundary int getBoundaryEvent(); @NonNull @Override @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) final JsonMap getEventData(); @NonNull @Override JsonValue toJsonValue(); @Override boolean isValid(); @Override @Priority int getPriority(); @NonNull
    static final String TYPE; @NonNull
    static final String REGION_ID; static final int BOUNDARY_EVENT_ENTER; static final int BOUNDARY_EVENT_EXIT; static final int MAX_CHARACTER_LENGTH; static final double MAX_LATITUDE; static final double MIN_LATITUDE; static final double MAX_LONGITUDE; static final double MIN_LONGITUDE; }
@Test public void testRegionEventLatitudeIsValid() { Double validLatitude = 0.0; Double invalidLatitudeMax = 91.0; Double invalidLatitudeMin = -91.0; assertTrue(RegionEvent.regionEventLatitudeIsValid(validLatitude)); assertFalse(RegionEvent.regionEventLatitudeIsValid(invalidLatitudeMax)); assertFalse(RegionEvent.regionEventLatitudeIsValid(invalidLatitudeMin)); }