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(perp): Refactor position tests #542

Merged
merged 6 commits into from
Jun 6, 2022

Conversation

NibiruHeisenberg
Copy link
Contributor

  • refactor ClosePositionEntirely tests to reduce code repetition
  • refactor DecreasePosition tests to reduce code repetition
  • add bad debt test cases to DecreasePosition

@NibiruHeisenberg NibiruHeisenberg requested a review from a team as a code owner June 5, 2022 15:23
@NibiruHeisenberg NibiruHeisenberg self-assigned this Jun 5, 2022
@NibiruHeisenberg NibiruHeisenberg added type: tests Unit and integration test additions and improvements x/perp labels Jun 5, 2022
@AgentSmithMatrix AgentSmithMatrix merged commit aaf0ed8 into master Jun 6, 2022
@AgentSmithMatrix AgentSmithMatrix deleted the refactor/position-tests branch June 6, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: tests Unit and integration test additions and improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants