-
-
Save CinnamonGrrrl/3b0b701e51fed96f56ea3fa4fe70da83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testFinishingFundRising() public { | |
Clock clock = Clock(DeployedAddresses.Clock()); | |
Funding funding = new Funding(1 days, address(clock)); | |
Assert.equal(funding.isFinished(), false); | |
clock.setNow(now + 1 days); | |
Assert.equal(funding.isFinished(), true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment