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

Golden tests for the non-integral calculations #449

Merged
merged 8 commits into from
May 7, 2019

Conversation

mgudemann
Copy link
Contributor

Adds golden tests in the following format
x a b
and checks for
e^x ln(a) (1-(1-f)^b) (approx(a < 1-(1-f)^b)) LT/GT n
were the last uses Taylor series expansion to approximate the threshold calculation and uses the error term to expand only as far as necessary.

@mgudemann mgudemann self-assigned this May 6, 2019
]
]
print $ map leaderComputation leaderTest
-- precomputedLeader <-
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason to keep all these comments in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for catching this, I removed all those comments and also unused definitions

Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

👍

The C++ test program emits test results to stdout and benchmark timing to
stderr.
- Remove commented out code
- Remove unused definitions from older versions
@mgudemann mgudemann merged commit 99e7290 into master May 7, 2019
@mgudemann mgudemann deleted the reference/golden_tests branch May 7, 2019 08:24
kevinhammond pushed a commit that referenced this pull request Oct 28, 2019
Golden tests for the non-integral calculations
nc6 pushed a commit that referenced this pull request May 19, 2020
449: Make katip accept Win32 > 2.6 r=ruhatch a=angerman



Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
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