update tests

master
lza_menace 2 years ago
parent f23b9abd31
commit b3f795417b

@ -2,7 +2,7 @@
src = 'src'
out = 'out'
libs = ['lib']
gas_reports = ["SendIt"]
gas_reports = ["*"]
[rpc_endpoints]
goerli = "${GOERLI_RPC_URL}"

@ -16,7 +16,7 @@ contract SendItTest is Test {
}
function testBulkTransferSucceeds() public {
uint256 amt = 10;
uint256 amt = 20;
uint256[] memory tokenIndexes = new uint256[](amt);
address[] memory recipients = new address[](amt);
for (uint256 i; i < amt; i++) {
@ -35,6 +35,15 @@ contract SendItTest is Test {
vm.stopPrank();
}
function testSingleTransfer() public {
nft.mint(address(5), 20);
vm.startPrank(address(5));
for (uint256 i; i < 20; i++) {
nft.safeTransferFrom(address(5), address(1), i + 1);
}
vm.stopPrank();
}
// function testUpdateVault() public {
// sendit.updateVault(address(3));
// console.log(address(sendit));

Loading…
Cancel
Save