Skip to content

Commit

Permalink
fix: import test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcentur1on committed Aug 14, 2023
1 parent 7e5041e commit c4b9be0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Cent.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "forge-std/Test.sol";
import "./Cent.sol";
import {Test} from "forge-std/Test.sol";
import {console2} from "forge-std/console2.sol";

import {CenturionDai} from "./Cent.sol";

//CenturionDai test
contract CenturionDaiTest is Test {
Expand All @@ -23,7 +25,7 @@ contract CenturionDaiTest is Test {
}

function testBalance() public {
uint256 supposedBalance = 1000 * uint256(10 ** template.decimals());
uint256 supposedBalance = 1000 * uint256(10**template.decimals());
uint256 balance = template.balanceOf(sender);
console2.log("Balances: %s - %s", supposedBalance, balance);
assertEq(supposedBalance, balance);
Expand Down

0 comments on commit c4b9be0

Please sign in to comment.