You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
456 B
Solidity
22 lines
456 B
Solidity
2 years ago
|
// SPDX-License-Identifier: UNLICENSED
|
||
|
pragma solidity ^0.8.13;
|
||
|
|
||
|
import "forge-std/Test.sol";
|
||
|
import "../src/Unaboomer.sol";
|
||
|
|
||
|
contract UnaboomerTest is Test {
|
||
|
Unaboomer public boomr;
|
||
|
address alice = address(1);
|
||
|
address bob = address(2);
|
||
|
|
||
|
function setUp() public {
|
||
|
boomr = new Unaboomer();
|
||
|
}
|
||
|
|
||
|
function testMint() public {
|
||
|
vm.startPrank(alice);
|
||
|
boomr.mint(5);
|
||
|
assertEq(boomr.totalSupply(), 5);
|
||
|
}
|
||
|
}
|