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

tests: UnpatchedParam::readCurrentValue() & getFinalValue() #2057

Conversation

nikodemus
Copy link
Contributor

  • Pull out the guts for testing, refactoring to come.

  • The inputs have an explicit range, which is short enough that we can enumerate it and check that everything roundtrips.

Copy link
Contributor

github-actions bot commented May 30, 2024

Test Results

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

Results for commit f5f03e5. ± Comparison against base commit 45b53d1.

♻️ This comment has been updated with latest results.

@nikodemus nikodemus force-pushed the unpatched-param-value-scaling branch from a7232c2 to 3d4ad67 Compare May 30, 2024 14:36
- Pull out the guts for testing, refactoring to come.

- The inputs have an explicit range, which is short enough that we can
  enumerate it and check that everything roundtrips.
@nikodemus nikodemus force-pushed the unpatched-param-value-scaling branch from 3d4ad67 to eb33cb2 Compare May 30, 2024 14:52

#include <cstdint>

// Functions that convert parameter values between forms displayed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To document the whole file, the doc comment should have triple slash and start with \file value_scaling.h.

@sapphire-arches sapphire-arches added this pull request to the merge queue May 30, 2024
Merged via the queue into SynthstromAudible:community with commit 3e6a087 May 30, 2024
6 checks passed
nikodemus added a commit to nikodemus/DelugeFirmware that referenced this pull request May 31, 2024
…omAudible#2057)

* tests: UnpatchedParam::readCurrentValue() & getFinalValue()

- Pull out the guts for testing, refactoring to come.

- The inputs have an explicit range, which is short enough that we can
  enumerate it and check that everything roundtrips.

* fix file level comment format
@nikodemus nikodemus deleted the unpatched-param-value-scaling branch June 1, 2024 09:58
tastycode pushed a commit to tastycode/DelugeFirmware that referenced this pull request Jul 3, 2024
…omAudible#2057)

* tests: UnpatchedParam::readCurrentValue() & getFinalValue()

- Pull out the guts for testing, refactoring to come.

- The inputs have an explicit range, which is short enough that we can
  enumerate it and check that everything roundtrips.

* fix file level comment format
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