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

test(twap): ensure test coverage for twapLog and twapPow #3543

Closed
p0mvn opened this issue Nov 27, 2022 · 2 comments · Fixed by #3591
Closed

test(twap): ensure test coverage for twapLog and twapPow #3543

p0mvn opened this issue Nov 27, 2022 · 2 comments · Fixed by #3591
Assignees
Labels

Comments

@p0mvn
Copy link
Member

p0mvn commented Nov 27, 2022

Background

We should test the helper math functions introduced in #3420

Suggested Design

The test should be as simple as validating that the base for pow and log a chosen from geometricTwapMathBase defined in logic.go

Acceptance Criteria

  • test for twapPow added
  • test for twapLog added
  • validating that the base for math function is as defined by geometricTwapMathBase
@p0mvn p0mvn added T:tests C:x/twap Changes to the twap module F: geometric-twap labels Nov 27, 2022
@ThanhNhann
Copy link
Contributor

Can I handle this?

@p0mvn p0mvn changed the title test(twap): ensuere test coverage for twapLog and twapPow test(twap): ensure test coverage for twapLog and twapPow Nov 28, 2022
@p0mvn
Copy link
Member Author

p0mvn commented Nov 28, 2022

@ThanhNhann please do. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants