I have a list of functions I'm trying to test with dapptools, but I only want to test one. How do I accomplish this?
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "../DappLottery.sol";
import "ds-test/test.sol";
contract DappLotteryTest is DSTest {
DappLottery public dappLottery;
function setUp() public {
dappLottery = new DappLottery();
}
function test_consumer_can_start_lottery() public {
bool response = dappLottery.startLottery();
assertTrue(response);
}
function test_consumer_can_end_lottery() public {
bool response = dappLottery.end();
assertTrue(response);
}
}