We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d173c1 commit 41d7e8fCopy full SHA for 41d7e8f
test/TestLBP.t.sol
@@ -1,24 +1,15 @@
1
// SPDX-License-Identifier: UNLICENSED
2
-pragma solidity ^0.8.13;
+pragma solidity ^0.8.28;
3
4
import {Test, console} from "forge-std/Test.sol";
5
import {LBP} from "../src/LBP.sol";
6
+import {DeployLBP} from "../script/DeployLBP.sol";
7
8
contract TestLBP is Test {
9
LBP public counter;
10
11
function setUp() public {
12
counter = new LBP();
- counter.setNumber(0);
13
- }
14
-
15
- function test_Increment() public {
16
- counter.increment();
17
- assertEq(counter.number(), 1);
18
19
20
- function testFuzz_SetNumber(uint256 x) public {
21
- counter.setNumber(x);
22
- assertEq(counter.number(), x);
+
23
}
24
0 commit comments