@Test public void testGet() { assertThat(measurement.getValue().doubleValue(), equalTo(42.0)); }
@Test public void buildLongitude() throws UnrecognizedMeasurementTypeException, NoValueException { checkDeserializeSerialize(new Longitude(value)); }
@Test public void testHasRange() { assertTrue(measurement.hasRange()); } }
location.setLongitude(longitude.getValue().doubleValue()); location.setSpeed((float) speed.getValue().doubleValue());
@Before public void setUp() { measurement = new Longitude(new Degree(42.0)); }