Added test for gold rank

This commit is contained in:
Alec LaLonde
2021-02-19 15:44:27 -07:00
parent 00339464c9
commit 03b5c413a4

View File

@@ -14,6 +14,9 @@ describe('computeRank', () => {
it('index 7 should be platinum', () => {
expect(computeRank(7)).toBe(PlayerRank_Enum.Platinum)
});
it('index 20 should be gold', () => {
expect(computeRank(20)).toBe(PlayerRank_Enum.Gold)
});
it('index 21 should be silver', () => {
expect(computeRank(21)).toBe(PlayerRank_Enum.Silver)
});