Skip to content

Instantly share code, notes, and snippets.

@iamdefinitelyahuman
Last active July 22, 2020 19:51
Show Gist options
  • Save iamdefinitelyahuman/da6798a53565434297f537942804d89a to your computer and use it in GitHub Desktop.
Save iamdefinitelyahuman/da6798a53565434297f537942804d89a to your computer and use it in GitHub Desktop.
def test_transfer_adjusts_receiver_balance(accounts, token):
balance = token.balanceOf(accounts[1])
token.transfer(accounts[1], 10**18, {'from': accounts[0]})
assert token.balanceOf(accounts[1]) == balance + 10**18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment