generated from dewiz-xyz/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0ae94b
commit c2ad3e8
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.19; | ||
|
||
import "forge-std/Test.sol"; | ||
import {SampleVat} from "./SampleVat.sol"; | ||
|
||
contract SampleVatTest is Test { | ||
SampleVat internal template; | ||
|
||
function setUp() public { | ||
template = new SampleVat(); | ||
} | ||
|
||
function testFailBasicSanity() public { | ||
assertTrue(false); | ||
} | ||
|
||
function testBasicSanity() public { | ||
assertTrue(true); | ||
} | ||
|
||
function testIsLive() public { | ||
uint256 isLive = 1; | ||
uint256 templateLive = uint256(template.live()); | ||
assertEq(templateLive, isLive); | ||
} | ||
} |