forked from upstream-mirrors/OpenTracks
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