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

Improve test coverage #79

Merged
merged 7 commits into from
Nov 10, 2021
Merged

Improve test coverage #79

merged 7 commits into from
Nov 10, 2021

Conversation

rossviljoen
Copy link
Collaborator

Adds tests to cover some currently uncovered lines. Closes #66

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

Just one minor thing, otherwise this looks great.

test/expected_loglik.jl Show resolved Hide resolved
@@ -13,7 +13,7 @@
y = rand(rng, fx)

q = exact_variational_posterior(fx, fx, y)
f_approx_post = posterior(SparseVariationalApproximation(fx, q))
f_approx_post = posterior(SparseVariationalApproximation(fx, q), fx, y)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I feel like this should be part of general approximation API tests, but that's for another issue...

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

I'm happy with this. Please merge when you're happy.

@rossviljoen
Copy link
Collaborator Author

rossviljoen commented Nov 10, 2021

I might still add some tests for laplace.jl, but codecov isn't currently working for me...

Edit: No, I won't 😆

@rossviljoen rossviljoen merged commit 8b4d798 into master Nov 10, 2021
@rossviljoen rossviljoen deleted the ross/improve-test-cov branch November 10, 2021 20:54
@rossviljoen rossviljoen restored the ross/improve-test-cov branch January 5, 2022 21:12
@rossviljoen rossviljoen deleted the ross/improve-test-cov branch January 5, 2022 21:16
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.

Improve Test Coverage
2 participants