Skip to content

Commit 6353683

Browse files
committed
init
1 parent 73d3883 commit 6353683

File tree

4 files changed

+18
-29
lines changed

4 files changed

+18
-29
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
pragma solidity ^0.8.13;
33

44
import {Script, console} from "forge-std/Script.sol";
5-
import {Counter} from "../src/Counter.sol";
5+
import {IPCM} from "../src/IPCM.sol";
66

7-
contract CounterScript is Script {
8-
Counter public counter;
7+
contract IPCMScript is Script {
8+
IPCM public ipcm;
99

1010
function setUp() public {}
1111

1212
function run() public {
1313
vm.startBroadcast();
1414

15-
counter = new Counter();
15+
ipcm = new IPCM();
1616

1717
vm.stopBroadcast();
1818
}

src/Counter.sol renamed to src/IPCM.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: UNLICENSED
22
pragma solidity ^0.8.13;
33

4-
contract Counter {
4+
contract IPCM {
55
uint256 public number;
66

77
function setNumber(uint256 newNumber) public {

test/Counter.t.sol

Lines changed: 0 additions & 24 deletions
This file was deleted.

test/IPCM.t.sol

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// SPDX-License-Identifier: UNLICENSED
2+
pragma solidity ^0.8.13;
3+
4+
import {Test, console} from "forge-std/Test.sol";
5+
import {IPCM} from "../src/IPCM.sol";
6+
7+
contract IPCMTest is Test {
8+
IPCM public ipcm;
9+
10+
function setUp() public {
11+
ipcm = new IPCM();
12+
}
13+
}

0 commit comments

Comments
 (0)