### Question:
DegreesMinutesSeconds extends Coordinates { @Override public DegreesMinutesSeconds clone() { return (DegreesMinutesSeconds)super.clone(); } DegreesMinutesSeconds(Coordinates ang);  DegreesMinutesSeconds(double degrees); static int getDegrees(double angle); static int getMinutes(double angle); static double getSeconds(double angle); static String getShortLabelString(double angle, int width, int precision, char positive, char negative); @Override DegreesMinutesSeconds clone(); @Override String getLongLabel(); @Override String getShortLabel(); @Override String toShortLabelString(); @Override String toShortLabelString(char positive, char negative); @Override String toShortLabelString(int width, int precision); @Override String toShortLabelString(int width, int precision, char positive, char negative); static final String DMS_LONG_LABEL; static final String DMS_SHORT_LABEL; }### Answer:
@Test public void testClone() { Coordinates ang = new DegreesMinutesSeconds(34.54512); Assert.assertEquals(ang.getMagnitude(), ang.clone().getMagnitude(), 0.); }