### Question:
EPoint extends Point2D implements Serializable { public String toString() { return "EPoint["+getX()+", "+getY()+"]"; } 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 testToString() { System.out.println("toString"); assertEquals("EPoint[" + (10 / DBMath.GRID) + ", " + (20 / DBMath.GRID) + "]", p0.toString()); }