I wrote more test cases to get 100% coverage. Here's what I Tested:
- Test for rewards, when you have and when you don't have.
- Edge case tests for when no one has staked.
- Tests for when reward periods ends and new ones start
- Tests for the view functions like
earned()
andrewardPerToken()