@@ -0,0 +1,942 @@
+package cgeo.geocaching.test;%0A%0Aimport cgeo.geocaching.cgeo;%0Aimport cgeo.geocaching.compatibility.Compatibility;%0A%0Aimport android.test.ActivityInstrumentationTestCase2;%0A%0Aimport junit.framework.Assert;%0A%0A@SuppressWarnings(%22static-method%22)%0Apublic class CompatibilityTest extends ActivityInstrumentationTestCase2%3Ccgeo%3E %7B%0A%0A    private cgeo activity;%0A%0A    public CompatibilityTest() %7B%0A        super(%22cgeo.geocaching%22, cgeo.class);%0A    %7D%0A%0A    @Override%0A    protected void setUp() throws Exception %7B%0A        super.setUp();%0A        activity = getActivity();%0A    %7D%0A%0A    public void testDataChanged() %7B%0A        // This should not raise an exception in any Android version%0A        Compatibility.dataChanged(%22cgeo.geocaching%22);%0A    %7D%0A%0A    public void testGetDirectionNow() %7B%0A        final float angle = Compatibility.getDirectionNow(1.0f, activity);%0A        Assert.assertTrue(angle == 1.0f %7C%7C angle == 91.0f %7C%7C angle == 181.0f %7C%7C angle == 271.0f);%0A    %7D%0A%0A%7D%0A

Add a new test for Compatibility package