assertDoubleEquals(10.0294, position1.getLongitude());
assertDoubleEquals(41.0, position1.getElevation());
assertEquals("Hohenfelde (Hamburg)", position1.getDescription());
assertEquals("Hohenfelde (Hamburg)", position1.getCity());
assertEquals("Start : 21/07/2007 18:51:36", position1.getReason());
CompactCalendar actual = position1.getTime();
String cal1 = DateFormat.getDateTimeInstance().format(actual.getTime());
CompactCalendar expected = calendar(2007, 7, 21, 18, 51, 36);
String cal2 = DateFormat.getDateTimeInstance().format(expected.getTime());
assertEquals(cal2, cal1);
assertEquals(expected.getTimeInMillis(), actual.getTimeInMillis());
assertEquals(expected.getTime(), actual.getTime());
TomTomPosition position2 = route.getPositions().get(1);
assertDoubleEquals(53.56963, position2.getLatitude());
assertDoubleEquals(10.0294, position2.getLongitude());
assertDoubleEquals(42.0, position2.getElevation());