mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Cleanup: SegmentStatisticUpdaterTest.
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ import de.dennisguse.opentracks.data.models.Speed;
|
||||
* @author Rodrigo Damazio
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class TrackStatisticsTest {
|
||||
public class SegmentStatisticUpdaterTest {
|
||||
|
||||
private SegmentStatisticUpdater statistics;
|
||||
|
||||
@@ -290,19 +290,11 @@ public class SegmentStatisticUpdater {
|
||||
isIdle = idle;
|
||||
}
|
||||
|
||||
public boolean hasAverageHeartRate() {
|
||||
return avgHeartRate != null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public HeartRate getAverageHeartRate() {
|
||||
return avgHeartRate;
|
||||
}
|
||||
|
||||
public boolean hasPower() {
|
||||
return avgPower != null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Power getAveragePower() {
|
||||
return avgPower;
|
||||
|
||||
Reference in New Issue
Block a user