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

Complex functional test #24

Merged
merged 4 commits into from Dec 9, 2019

Conversation

@banescusebi
Copy link
Contributor

banescusebi commented Dec 8, 2019

Created test flow according to description given by dev team:

  • createHat with desinated recipient
  • owner mintWithHat
    ... accumulate interests...
  • check rdai.interestPayableOf (recipient)
    <— this can also be checked against rdai's account stats, and in test stats are used more than checking the actual interest payables.
  • owner changeHat to different recipient
    ... accumulate interest...
  • check both interest amount of the new recipient and old recipient
@hellwolf hellwolf merged commit 269a1df into rtoken-project:master Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.