### Question:
EPoint extends Point2D implements Serializable { public boolean isSmall() { return (((gridX - GenMath.MIN_SMALL_COORD) | (gridY - GenMath.MIN_SMALL_COORD)) & Integer.MIN_VALUE) == 0; } EPoint(double lambdaX, double lambdaY); private  EPoint(long gridX, long gridY); static EPoint fromLambda(double lambdaX, double lambdaY); static EPoint fromGrid(long gridX, long gridY); static EPoint snap(Point2D p); @Override double getX(); @Override double getY(); double getLambdaX(); double getLambdaY(); long getGridX(); long getGridY(); @Override void setLocation(double x, double y); Point2D.Double lambdaMutable(); Point2D.Double gridMutable(); double lambdaDistance(EPoint pt); double gridDistance(EPoint pt); boolean isSmall(); boolean equals(EPoint that); String toString(); static void printStatistics(); static final EPoint ORIGIN; }### Answer:
@Test public void testIsSmall() { System.out.println("isSmall"); assertTrue(p0.isSmall()); assertFalse((EPoint.fromGrid(-(1 << 30) - 1, 0)).isSmall()); assertTrue((EPoint.fromGrid(-(1 << 30), 0)).isSmall()); assertTrue(EPoint.fromGrid((1 << 30) - 1, 0).isSmall()); assertFalse(EPoint.fromGrid((1 << 30), 0).isSmall()); assertFalse((EPoint.fromGrid(0, -(1 << 30) - 1)).isSmall()); assertTrue((EPoint.fromGrid(0, -(1 << 30))).isSmall()); assertTrue(EPoint.fromGrid(0, (1 << 30) - 1).isSmall()); assertFalse(EPoint.fromGrid(0, (1 << 30)).isSmall()); }