This commit is contained in:
Sem van der Hoeven
2021-01-06 17:09:11 +01:00
parent f8acc35c5b
commit ce264d78bc
2 changed files with 2 additions and 2 deletions

View File

@@ -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() {

View File

@@ -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;