'Test zone size preferences.'

def test_active_zone_prefers_smaller_zone_if_same_distance(self):

    latitude = 32.8806
    longitude = (-117.237561)
    assert setup.setup_component(self.hass, zone.DOMAIN, {'zone': [{'name': 'Small    Zone', 'latitude': latitude, 'longitude': longitude, 'radius': 250}, {'name': 'Big    Zone', 'latitude': latitude, 'longitude': longitude, 'radius': 500}]})
    active = zone.active_zone(self.hass, latitude, longitude)
    assert ('zone.small_zone' == active.entity_id)
