Skip to content

Add a delta of 2 ms to test_music_pause__unpause() #2898

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

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

MyreMylar
Copy link
Member

@MyreMylar MyreMylar commented Jun 1, 2024

The pause/unpause functionality is just not accurate enough for true equality and occasionally fails in unit testing with 1ms difference.

Realistically nobody can hear a 2ms position difference in a sound.

Recent example

The function is just not accurate enough for trrue equality and occasionally fails in unit testing with 1ms difference.
@MyreMylar MyreMylar requested a review from a team as a code owner June 1, 2024 20:18
@yunline yunline added the tests tests (module) label Jun 2, 2024
@itzpr3d4t0r itzpr3d4t0r merged commit 92ee77a into main Jun 2, 2024
38 checks passed
@itzpr3d4t0r itzpr3d4t0r added this to the 2.5.0 milestone Jun 2, 2024
@ankith26 ankith26 deleted the add-tolerance-to-pause-upause-test branch June 2, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests tests (module)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants