vote icon indicating copy to clipboard operation
vote copied to clipboard

Add tests for VoteCrowdsale.sol

Open medied opened this issue 7 years ago • 1 comments

  • [x] Add initial tests replicating Zeppelin's test set for Crowdsale.sol
  • [ ] Obtain correct parameters for VoteCrowdsale test

medied avatar Feb 23 '18 16:02 medied

Added initial replicating tests with commit b83c5498e6619766666e4ac390825213858ab629. Although there's a set of parameters that need to be set correctly for tests to be more accurate: rate, value, tokenSupply, expectedTokenAmount.

Note those parameters are set using the BigNumber library, the api docs are worth checking out

medied avatar Feb 28 '18 23:02 medied