diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-15 22:42:48 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-15 23:19:01 +0800 |
commit | f6c01520ae75d173937f0847ac45e636b06f4146 (patch) | |
tree | 6c16d0a8050bf470fd9a7e93c88b8f840b35b604 /packages/sol-cov/test/fixtures/contracts | |
parent | 40ebb533b324bf7dd454243fcb1ee092ab85f7eb (diff) | |
download | dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar.gz dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar.bz2 dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar.lz dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar.xz dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.tar.zst dexon-sol-tools-f6c01520ae75d173937f0847ac45e636b06f4146.zip |
Add tests for sol-cov
Diffstat (limited to 'packages/sol-cov/test/fixtures/contracts')
-rw-r--r-- | packages/sol-cov/test/fixtures/contracts/SimpleStorage.sol | 9 | ||||
-rw-r--r-- | packages/sol-cov/test/fixtures/contracts/Simplest.sol | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/packages/sol-cov/test/fixtures/contracts/SimpleStorage.sol b/packages/sol-cov/test/fixtures/contracts/SimpleStorage.sol new file mode 100644 index 000000000..178a52318 --- /dev/null +++ b/packages/sol-cov/test/fixtures/contracts/SimpleStorage.sol @@ -0,0 +1,9 @@ +contract SimpleStorage { + uint public storedData; + function set(uint x) { + storedData = x; + } + function get() constant returns (uint retVal) { + return storedData; + } +} diff --git a/packages/sol-cov/test/fixtures/contracts/Simplest.sol b/packages/sol-cov/test/fixtures/contracts/Simplest.sol new file mode 100644 index 000000000..d71016e07 --- /dev/null +++ b/packages/sol-cov/test/fixtures/contracts/Simplest.sol @@ -0,0 +1,2 @@ +contract Simplest { +} |