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.
16 lines
339 B
16 lines
339 B
pragma solidity >=0.4.25 <0.6.0;
|
|
|
|
import "truffle/Assert.sol";
|
|
import "truffle/DeployedAddresses.sol";
|
|
import "../contracts/Simple.sol";
|
|
|
|
contract TestSimple {
|
|
|
|
function test_x_is_0() public {
|
|
Simple simple = Simple(DeployedAddresses.Simple());
|
|
|
|
uint expected = 0;
|
|
|
|
Assert.equal(simple.x, expected, "x should equal 0");
|
|
}
|
|
} |