fix(amps): Phase 2 review nits — Help scope, compose switches, test

- HelpView: scope the tone-stack acknowledgment to "tube-amp voice pedals"
  (the genericized "amp pedals" wrongly implied Neural Amp, which is .amp but has
  no tone stack, follows Yeh & Smith).
- BritishBluesbreaker: compose super.effectSwitches for the Bright switch instead
  of re-declaring it, so it stays in sync with the base.
- Test: round-trip now also asserts speed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 12:17:18 -07:00
parent 4de8379cb8
commit 71d9b44809
3 changed files with 5 additions and 11 deletions
@@ -144,12 +144,13 @@ struct BritishComboAmpPedalTests {
let pedal: BritishBluesbreakerAmpPedal = BritishBluesbreakerAmpPedal()
pedal.presence = 0.7
pedal.bright = 1.0
pedal.speed = 9.0
pedal.intensity = 0.5
pedal.tremoloEnabled = 0.0
pedal.cab = 2.0
let restored: BritishBluesbreakerAmpPedal = BritishBluesbreakerAmpPedal()
restored.applyState(pedal.captureState())
#expect(restored.presence == 0.7 && restored.bright == 1.0)
#expect(restored.presence == 0.7 && restored.bright == 1.0 && restored.speed == 9.0)
#expect(restored.intensity == 0.5 && restored.tremoloEnabled == 0.0 && restored.cab == 2.0)
}