We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All tests use hardcoded values to assert: e.g.:
staking-reward-streamer/test/RewardsStreamerMP.t.sol
Line 937 in 4968ad4
Line 906 in 4968ad4
A function which calculates the the values should be implemented in the tests, and used everywhere.
The test of validity of calculations should be done separated, so hardcoding values only once.
Advantages:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
All tests use hardcoded values to assert:
e.g.:
staking-reward-streamer/test/RewardsStreamerMP.t.sol
Line 937 in 4968ad4
staking-reward-streamer/test/RewardsStreamerMP.t.sol
Line 906 in 4968ad4
A function which calculates the the values should be implemented in the tests, and used everywhere.
The test of validity of calculations should be done separated, so hardcoding values only once.
Advantages:
The text was updated successfully, but these errors were encountered: