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

make golden tests more robust #6

Merged
merged 1 commit into from
Jan 28, 2024
Merged

Conversation

josharian
Copy link
Contributor

There was a floating point near-miss on my system.

--- FAIL: TestSimple (0.00s)
gosamplerate_test.go:102: input [0.1 -0.5 0.3 0.4 0.1]
gosamplerate_test.go:103: output [0.1 0.1 -0.1 -0.5 0.033333343 0.33333334 0.4 0.2]
gosamplerate_test.go:104: unexpected output
FAIL

There was a floating point near-miss on my system.

--- FAIL: TestSimple (0.00s)
    gosamplerate_test.go:102: input [0.1 -0.5 0.3 0.4 0.1]
    gosamplerate_test.go:103: output [0.1 0.1 -0.1 -0.5 0.033333343 0.33333334 0.4 0.2]
    gosamplerate_test.go:104: unexpected output
FAIL
@dh1tw dh1tw merged commit 85e1e8e into dh1tw:master Jan 28, 2024
@dh1tw
Copy link
Owner

dh1tw commented Jan 28, 2024

thanks for the PR @josharian! Very much appreciated!

@josharian josharian deleted the josh/fix-tests branch January 28, 2024 00:24
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.

2 participants