foundry-template/test/Foo.t.sol

21 lines
669 B
Solidity
Raw Normal View History

2022-07-16 11:36:29 +00:00
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4;
import { console2 } from "forge-std/console2.sol";
2022-07-16 11:36:29 +00:00
import { PRBTest } from "@prb/test/PRBTest.sol";
2022-10-31 16:34:49 +00:00
import { StdCheats } from "forge-std/StdCheats.sol";
2022-07-16 11:36:29 +00:00
/// @dev See the "Writing Tests" section in the Foundry Book if this is your first time with Forge.
/// https://book.getfoundry.sh/forge/writing-tests
contract FooTest is PRBTest, StdCheats {
2022-07-16 11:36:29 +00:00
function setUp() public {
// solhint-disable-previous-line no-empty-blocks
}
/// @dev Run Forge with `-vvvv` to see console logs.
function testExample() public {
console2.log("Hello World");
2022-07-16 11:36:29 +00:00
assertTrue(true);
}
}