Skip to content

Commit c878058

Browse files
committed
dapp init Megapoker
0 parents  commit c878058

File tree

5 files changed

+31
-0
lines changed

5 files changed

+31
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sol linguist-language=Solidity

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/out

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
all :; dapp build
2+
clean :; dapp clean
3+
test :; dapp test
4+
deploy :; dapp create Megapoker

src/Megapoker.sol

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pragma solidity ^0.5.12;
2+
3+
contract Megapoker {
4+
}

src/Megapoker.t.sol

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pragma solidity ^0.5.12;
2+
3+
import "ds-test/test.sol";
4+
5+
import "./Megapoker.sol";
6+
7+
contract MegapokerTest is DSTest {
8+
Megapoker megapoker;
9+
10+
function setUp() public {
11+
megapoker = new Megapoker();
12+
}
13+
14+
function testFail_basic_sanity() public {
15+
assertTrue(false);
16+
}
17+
18+
function test_basic_sanity() public {
19+
assertTrue(true);
20+
}
21+
}

0 commit comments

Comments
 (0)