Last active
July 22, 2020 19:51
-
-
Save iamdefinitelyahuman/da6798a53565434297f537942804d89a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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