@Test
public void testEnableCompassFilter() {

    deadReckoning.setCompassFilterEnabled(true);
    assertEquals(Robolectric.application.getResources().getInteger(R.integer.compass_low_pass_filter_weight) / 100.f,
            ((CompassFilter) deadReckoning.compassBuffer.getFilter()).getWeight());
}