AbstractIdentifiedObjectTest changes for revisions 7709:7848

The change in this commit has been mandated by a GeoAPI change.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r7709:7848 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/test/java/org/geotools/referencing/IdentifiedObjectTest.java
Revision 7709Revision 7848
}

/**
 * Test {@link ParameterValue}.
 */
public void testParameter() {
    assertEquals(   "intValue", 14,  new ParameterValue("Test", 14).intValue());
    assertEquals("doubleValue", 27,  new ParameterValue("Test", 27).doubleValue(), 0);
    assertEquals("doubleValue", 300, new ParameterValue("Test",  3, SI.METER).doubleValue(SI.CENTI(SI.METER)), 0);
}

/**
}

/**
 * Test {@link Parameter}.
 */
public void testParameter() {
    assertEquals(   "intValue", 14,  new Parameter("Test", 14).intValue());
    assertEquals("doubleValue", 27,  new Parameter("Test", 27).doubleValue(), 0);
    assertEquals("doubleValue", 300, new Parameter("Test",  3, SI.METER).doubleValue(SI.CENTI(SI.METER)), 0);
}

/**