Skip to content

Commit

Permalink
add test names in test readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thurendous committed Sep 18, 2024
1 parent 816c4f6 commit 41709fa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,43 @@ This is the utility token contract.
### VotingPowerExchange.t.sol

- setUp
- testConstructorValidation
- testSpecialCasesForCalculateVotingPowerFromBurnedAmount
- testSomeMoreSpecialCasesForCalculateVotingPowerFromBurnedAmount
- testCalculateVotingPowerFromBurnedAmount
- testCalculateVotingPowerFromBurnedAmountRareCases
- testCalculationOfVotingPowerMintingWhenMintedSeparately
- testCalculationOfVotingPowerMintingWhenMintedSeparately2
- testCalculateIncrementedVotingPower

testing with JavaScript code

- testCalculateIncrementedVotingPowerForJs_0_3340
- testCalculateIncrementedVotingPowerForJs_30_3340
- testCalculateIncrementedVotingPowerForJs_50_19600
- testCalculateIncrementedVotingPowerForJs_370_765
- testCalculateIncrementedVotingPowerForJs_1000_15000
- testCalculateIncrementedVotingPowerForJs_4000_9260

helper internal functions

- runTestCaseForIncrementedVotingPower

- testCalculateBurningAmountFromVotingPower
- testCalculateIncrementedBurningAmount

testing with JavaScript code

- testCalculateIncrementedBurningAmountForJs_15_5
- testCalculateIncrementedBurningAmountForJs_0_99e17
- testCalculateIncrementedBurningAmountForJs_49_1
- testCalculateIncrementedBurningAmountForJs_101e17_3022e16
- testCalculateIncrementedBurningAmountForJs_151e17_2522e16

helper internal functions

- runTestCaseForIncrementedBurningAmount

### GovToken.t.sol

This is the token contract for the governance system.
Expand Down

0 comments on commit 41709fa

Please sign in to comment.