added multiple events to test

pull/557/head
aniket-engg 4 years ago committed by yann300
parent 1798ee2db6
commit 2cfa31f757
  1. 4
      libs/remix-tests/tests/examples_1/simple_storage.sol

@ -2,12 +2,16 @@ pragma solidity >= 0.5.0 < 0.8.0;
contract SimpleStorage {
uint public storedData;
event Stored(uint256 value);
constructor() public {
storedData = 100;
}
function set(uint x) public {
storedData = x;
emit Stored(x);
emit Stored(x+10); // for testing multiple events only
}
function get() public view returns (uint retVal) {

Loading…
Cancel
Save