[android] #4702 - upgrade default styles, deprecate Style string definition in favour versioned styling methods.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.mapbox.mapboxsdk.constants;
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.model.constants.AppConstant;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
|
||||
public class StyleVersionTest {
|
||||
|
||||
private static final double DELTA = 1e-15;
|
||||
|
||||
@Test
|
||||
public void testSanity() {
|
||||
assertEquals("Style version should match, when upgrading, verify that integers.xml is updated",
|
||||
AppConstant.STYLE_VERSION,
|
||||
9,
|
||||
DELTA);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user