embark/dapps/tests/app/test/solidity_test.sol

14 lines
192 B
Solidity
Raw Normal View History

pragma solidity ^0.4.25;
contract MyTest {
uint i = 0;
function beforeAll() {
i += 1;
}
function valueShouldBe1() public {
Assert.equal(1, i, "value is not correct");
}
}