mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
5e560768ad
* chore: test runner tests * chore: mocha test runner tests * chore: add solidity test file to dapp
15 lines
218 B
Solidity
15 lines
218 B
Solidity
pragma solidity ^0.4.25;
|
|
import 'remix_tests.sol';
|
|
|
|
contract MyTest {
|
|
uint i = 0;
|
|
|
|
function beforeAll() {
|
|
i += 1;
|
|
}
|
|
|
|
function valueShouldBe1() public {
|
|
Assert.equal(1, i, "value is not correct");
|
|
}
|
|
}
|