Ethereum, Solidity, Python, Blockchain, Cryptocurrency.
contract is more likely to be hit with cases you didn’t consider, which is exactly where the bugs like to hide. Brownie achieves this by integrating the hypothesis library. Here is our same test, written to take advantage of property-based testing: from brownie.test import given, strategy