Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: share value scaling between Integer and UnpatchedParam #2058

Merged

Conversation

nikodemus
Copy link
Contributor

  • Math is exactly the same in both, let's call it compute(Current|Final)ValueForStandardMenuItem.

  • Add a few tests with explicit values in addition to the roundtripping.

- Math is exactly the same in both, let's call it
  compute(Current|Final)ValueForStandardMenuItem.

- Add a few tests with explicit values in addition to the
  roundtripping.
Copy link
Contributor

Test Results

35 tests  ±0   35 ✅ ±0   0s ⏱️ ±0s
 7 suites ±0    0 💤 ±0 
 7 files   ±0    0 ❌ ±0 

Results for commit 40e974f. ± Comparison against base commit 3e6a087.

This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
ValueScalingTest ‑ unpatchedParamValueRoundTrip
ValueScalingTest ‑ standardMenuItemValueRoundTrip

@nikodemus
Copy link
Contributor Author

nikodemus commented Jun 1, 2024

No rush, but FYI: I already have 6 7 sequential PRs in queue, ready to go after this - and each other.

Since this is a largish refactoring, I'm keeping the individual PRs bite sized for easier review, but that does create a bit of a queue... :)

@sapphire-arches sapphire-arches added this pull request to the merge queue Jun 1, 2024
Merged via the queue into SynthstromAudible:community with commit 96a78f8 Jun 1, 2024
6 checks passed
@nikodemus nikodemus deleted the integer-value-scaling branch June 2, 2024 16:50
tastycode pushed a commit to tastycode/DelugeFirmware that referenced this pull request Jul 3, 2024
…thstromAudible#2058)

- Math is exactly the same in both, let's call it
  compute(Current|Final)ValueForStandardMenuItem.

- Add a few tests with explicit values in addition to the
  roundtripping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants