embark/test_dapps/test_app/some_folder/test_contract.sol

24 lines
461 B
Solidity
Raw Normal View History

pragma solidity ^0.4.17;
2019-01-14 11:21:40 +00:00
import "../another_folder/another_test.sol";
import "zeppelin-solidity/contracts/ownership/Ownable.sol";
contract SimpleStorageTest is Ownable {
uint public storedData;
function() public payable { }
function SimpleStorage(uint initialValue) public {
storedData = initialValue;
}
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint retVal) {
return storedData;
}
}