diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-07 14:58:02 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-07 14:58:02 +0200 |
| commit | 22a58e96dddd326f4c331c2a1bdea46f808ae3ad (patch) | |
| tree | 08222960e60a9e6db843a0efe37e93b7f67913da /ride/difficulty_test.go | |
| parent | 4b90740c41afb43d11e4dd2c0c9ed91654b7ce43 (diff) | |
refactor: Store rides in columns
Diffstat (limited to 'ride/difficulty_test.go')
| -rw-r--r-- | ride/difficulty_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ride/difficulty_test.go b/ride/difficulty_test.go index 5ba14c7..4b72037 100644 --- a/ride/difficulty_test.go +++ b/ride/difficulty_test.go @@ -54,6 +54,6 @@ func TestDifficultyScoreHautacamClimbfinderReference(t *testing.T) { climbs := r.AllClimbs() assert.Len(t, climbs, 6) hautacam := climbs[5] - assert.InDelta(t, 128.6, hautacam.Start().DistanceM/1000, 0.1) + assert.InDelta(t, 128.6, hautacam.StartDistanceM()/1000, 0.1) assert.InDelta(t, 930.0, hautacam.DifficultyScore(), 10) } |