pure junit tests

This commit is contained in:
Antonio Zugaldia
2015-09-15 17:57:12 -04:00
parent ed161e020a
commit 187cc36eb5
2 changed files with 16 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ dependencies {
}
// Testing dependencies
testCompile 'junit:junit:4.12'
androidTestCompile 'com.android.support.test:runner:0.4'
androidTestCompile 'com.android.support.test:rules:0.4'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'

View File

@@ -0,0 +1,15 @@
import com.mapbox.mapboxgl.geometry.CoordinateSpan;
import org.junit.Test;
import static org.junit.Assert.assertNotNull;
public class CoordinateSpanTest {
@Test
public void testSanity() {
CoordinateSpan coordinateSpan = new CoordinateSpan(0.0, 0.0);
assertNotNull("coordinateSpan should not be null", coordinateSpan);
}
}