Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
solidity-coverage/test/sources/solidity/contracts/app/Expensive.sol

14 lines
355 B

// Cost to deploy Expensive: 0x4e042f
// Block gas limit is: 0x47e7c4
// Should throw out of gas on unmodified truffle
// Should pass solcover truffle
pragma solidity ^0.7.0;
contract Expensive {
mapping (uint => address) map;
constructor() public {
for(uint i = 0; i < 1000; i++ ){
map[i] = address(this);
}
}
}