@Test
public void testCalculateBaseAngle() {

    DownloadTask task = mock(DownloadMapDataTask.class);
    Map<String, Collection> data = new HashMap<String, Collection>();
    List<Integer> list = new ArrayList<Integer>();
    list.add(90);
    data.put(OsmParserKeys.NORTH_ANGLE, list);
    deadReckoning.onDownloadFinished(task, true, data);
    assertEquals(Math.PI/2, deadReckoning.baseAngle, 0.01f);
}