fix: restore standard HR zone defaults, relax zone-boundary validation instead of migration
This commit is contained in:
@@ -16,8 +16,8 @@ func TestProfile_DefaultsThenUpdate(t *testing.T) {
|
||||
if p.RollingWindowDays != 90 {
|
||||
t.Errorf("RollingWindowDays = %d, want 90 (migration default)", p.RollingWindowDays)
|
||||
}
|
||||
if p.HRZone1MinPct != 0 || p.HRZone5MaxPct != 100 {
|
||||
t.Errorf("zone defaults = %+v, want Z1 min=0, Z5 max=100", p)
|
||||
if p.HRZone1MinPct != 50 || p.HRZone5MaxPct != 100 {
|
||||
t.Errorf("zone defaults = %+v, want Z1 min=50, Z5 max=100", p)
|
||||
}
|
||||
|
||||
maxHR, restingHR := 190.0, 50.0
|
||||
|
||||
Reference in New Issue
Block a user