Ethereum, Solidity, Python, Blockchain, Cryptocurrency.
token.transfer(accounts[1], amount, {'from': accounts[0]}) assert token.balanceOf(accounts[0]) == from_balance - amount assert token.balanceOf(accounts[1]) == to_balance + amount This test verifies the same behavior as our first example, but it executes four times with different amounts transferred