### Question:
Coord implements Localizable { public void translate(double vx, double vy) { x += vx; y += vy; } Coord();  Coord(double x, double y); void translate(double vx, double vy); void set(double x, double y); void setX(double x); void setY(double y); @Override double getX(); @Override double getY(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString();  }### Answer:
@Test void testTranslate() { final Coord coord = new Coord(1.5, 2.5); coord.translate(10.25, 20.25); assertEquals(11.75, coord.getX()); assertEquals(22.75, coord.getY()); }