GeoLocationPointList extends AbstractGeoLocation { @Pure public int size() { return this.pts.length / 2; } GeoLocationPointList(double... points); @Override @Pure GeoId toGeoId(); @Override @SuppressWarnings("checkstyle:equalshashcode") @Pure int hashCode(); @Pure int size(); @Pure float getX(int index); @Pure float getY(int index); @Override @Pure Rectangle2d toBounds2D(); @Override @Pure GeodesicPosition toGeodesicPosition();  }
@Test public void testSize() { assertEquals(this.count1/2, this.location11.size()); assertEquals(this.count1/2, this.location12.size()); assertEquals(this.count1/2, this.location13.size()); assertEquals(this.count2/2, this.location21.size()); assertEquals(this.count2/2, this.location22.size()); assertEquals(this.count2/2, this.location23.size()); }