Skip to content

Commit

Permalink
chore: first test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcentur1on committed Aug 14, 2023
1 parent d0ae94b commit c2ad3e8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/SampleVat.t.sol
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);
}
}

0 comments on commit c2ad3e8

Please sign in to comment.