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