rename
This commit is contained in:
@@ -9,7 +9,7 @@ public enum StaticData {
|
|||||||
INSTANCE;
|
INSTANCE;
|
||||||
private double distanceTraveled = 0;
|
private double distanceTraveled = 0;
|
||||||
private int locationsVisited = 0;
|
private int locationsVisited = 0;
|
||||||
private long timeWalkedRoute = 0;
|
private long timeWalked = 0;
|
||||||
private double zoom = 0;
|
private double zoom = 0;
|
||||||
|
|
||||||
public double getZoom() {
|
public double getZoom() {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class StaticDataTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test(){
|
public void testVisitedLocation(){
|
||||||
Location testLocation = new Location("test", "test", "test", "test");
|
Location testLocation = new Location("test", "test", "test", "test");
|
||||||
staticData.visitLocation(testLocation);
|
staticData.visitLocation(testLocation);
|
||||||
int expected = 1;
|
int expected = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user