mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 10:23:06 +02:00
Add test cases about getSlowSpeed and getNormalSpeed methods in DynamicSpeedTrackPathDescriptor.
This commit is contained in:
+8
@@ -129,6 +129,14 @@ public class DynamicSpeedTrackPathDescriptor implements TrackPathDescriptor {
|
||||
int getSpeedMargin() {
|
||||
return speedMargin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the speed margin.
|
||||
*/
|
||||
@VisibleForTesting
|
||||
void setSpeedMargin(int value) {
|
||||
speedMargin = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the average moving speed.
|
||||
|
||||
Reference in New Issue
Block a user